summaryrefslogtreecommitdiff
path: root/std/path/posix.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/posix.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/path/posix.ts')
-rw-r--r--std/path/posix.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/path/posix.ts b/std/path/posix.ts
index 351ceb06e..03d07a84a 100644
--- a/std/path/posix.ts
+++ b/std/path/posix.ts
@@ -50,7 +50,7 @@ export function resolve(...pathSegments: string[]): string {
resolvedPath,
!resolvedAbsolute,
"/",
- isPosixPathSeparator
+ isPosixPathSeparator,
);
if (resolvedAbsolute) {
@@ -337,7 +337,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);