diff --git a/src/vs/base/common/uri.ts b/src/vs/base/common/uri.ts index 5ac44dc842600a2b943093e2fb332aeb35e2a6ff..8111602efc53bb44a482d912e6bb292341f98596 100644 --- a/src/vs/base/common/uri.ts +++ b/src/vs/base/common/uri.ts @@ -345,7 +345,7 @@ export class URI implements UriComponents { */ static joinPath(uri: URI, ...pathFragment: string[]): URI { if (!uri.path) { - throw new Error(`[UriError]: cannot call joinPaths on URI without path`); + throw new Error(`[UriError]: cannot call joinPath on URI without path`); } let newPath: string; if (isWindows && uri.scheme === 'file') {