Skip to content

Commit

Permalink
Normalize paths to fix windows path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Etchells committed Jan 23, 2019
1 parent 3041e9a commit d95d5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/src/microclimate/project/Project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class Project implements ITreeItemAdaptable, vscode.QuickPickItem
this.type = new ProjectType(projectInfo.buildType, projectInfo.language);

this.localPath = vscode.Uri.file(
MCUtil.appendPathWithoutDupe(connection.workspacePath.fsPath, projectInfo.locOnDisk)
MCUtil.appendPathWithoutDupe(connection.workspacePath.fsPath, vscode.Uri.file(projectInfo.locOnDisk).fsPath)
);

this.contextRoot = projectInfo.contextroot || ""; // non-nls
Expand Down

0 comments on commit d95d5ff

Please sign in to comment.