summaryrefslogtreecommitdiff
path: root/std/path/win32.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/path/win32.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/path/win32.ts')
-rw-r--r--std/path/win32.ts6
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);