diff options
Diffstat (limited to 'std/path/win32.ts')
-rw-r--r-- | std/path/win32.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/path/win32.ts b/std/path/win32.ts index 30482e453..66ed1ff14 100644 --- a/std/path/win32.ts +++ b/std/path/win32.ts @@ -167,7 +167,7 @@ export function resolve(...pathSegments: string[]): string { resolvedTail, !resolvedAbsolute, "\\", - isPathSeparator + isPathSeparator, ); return resolvedDevice + (resolvedAbsolute ? "\\" : "") + resolvedTail || "."; @@ -259,7 +259,7 @@ export function normalize(path: string): string { path.slice(rootEnd), !isAbsolute, "\\", - isPathSeparator + isPathSeparator, ); } else { tail = ""; @@ -750,7 +750,7 @@ export function format(pathObject: FormatInputPathObject): string { /* eslint-disable max-len */ if (pathObject === null || typeof pathObject !== "object") { throw new TypeError( - `The "pathObject" argument must be of type Object. Received type ${typeof pathObject}` + `The "pathObject" argument must be of type Object. Received type ${typeof pathObject}`, ); } return _format("\\", pathObject); |