Skip to content

Commit

Permalink
prepare for warning for questionable fsPath-usage, #56108
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Aug 15, 2018
1 parent b22fd24 commit 3d6349a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/base/common/uri.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ export default class URI implements UriComponents {
* with URIs that represent files on disk (`file` scheme).
*/
get fsPath(): string {
// if (this.scheme !== 'file') {
// console.warn(`[UriError] calling fsPath with scheme ${this.scheme}`);
// }
return _makeFsPath(this);
}

Expand Down

0 comments on commit 3d6349a

Please sign in to comment.