Skip to content

Conversation

weswigham
Copy link
Member

The vfs's readProject had a different special casing logic than rwc, this aligns them. It was also neglecting to actually place tsconfigs into the vfs - now it does. This should fix the last of our harness-related RWC failures. The fixed libs also revealed #23977.

@weswigham weswigham requested review from sandersn, rbuckton and mhegazy May 8, 2018 21:50
@@ -86,4 +86,8 @@ namespace utils {
export function addUTF8ByteOrderMark(text: string) {
return getByteOrderMarkLength(text) === 0 ? "\u00EF\u00BB\u00BF" + text : text;
}

export function isTsConfigFile(file: { path: string }): boolean {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be in vpath.ts with the other is path methods.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved.

@weswigham weswigham closed this May 8, 2018
@weswigham weswigham reopened this May 8, 2018
@weswigham weswigham merged commit cb42086 into microsoft:master May 9, 2018
@weswigham weswigham deleted the fix-rwc-paths branch May 9, 2018 00:07
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 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.

3 participants