Skip to content

Correct project root path passed to Typings Installer#20181

Merged
amcasey merged 1 commit into
microsoft:masterfrom
amcasey:TiRootPath
Nov 21, 2017
Merged

Correct project root path passed to Typings Installer#20181
amcasey merged 1 commit into
microsoft:masterfrom
amcasey:TiRootPath

Conversation

@amcasey
Copy link
Copy Markdown
Member

@amcasey amcasey commented Nov 21, 2017

createInstallTypingsRequest has its own logic for extracting the
project root path from the project name and it disagrees with the
versions in the project flavors. In particular, it only drops the last
component of the name if it exists. For folder projects and JS-only
contexts, this will not be the case, but the last entry should still be
dropped.

TL;DR: stop creating filewatchers for
"c:/foo/foo.csproj*jscontent/node_modules"

`createInstallTypingsRequest` has its own logic for extracting the
project root path from the project name and it disagrees with the
versions in the project flavors.  In particular, it only drops the last
component of the name if it exists.  For folder projects and JS-only
contexts, this will not be the case, but the last entry should still be
dropped.

TL;DR: stop creating filewatchers for
"c:/foo/foo.csproj*jscontent/node_modules"
@amcasey amcasey merged commit 761c739 into microsoft:master Nov 21, 2017
@amcasey amcasey deleted the TiRootPath branch November 21, 2017 18:39
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants