diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-09-27 06:22:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-27 12:22:32 +0200 |
commit | df02e315075456f8d5f75472abbb1fa81e237827 (patch) | |
tree | d0dc9eb502d17f5bfd463bfd9162f46fead4e307 /std/path | |
parent | c28757f379fd1141c817b21ce2fe4dd86b29cd8c (diff) |
feat(fmt): Sort named import and export specifiers (#7711)
Diffstat (limited to 'std/path')
-rw-r--r-- | std/path/_util.ts | 10 | ||||
-rw-r--r-- | std/path/glob_test.ts | 2 | ||||
-rw-r--r-- | std/path/parse_format_test.ts | 2 | ||||
-rw-r--r-- | std/path/posix.ts | 4 | ||||
-rw-r--r-- | std/path/win32.ts | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/std/path/_util.ts b/std/path/_util.ts index ead425a0b..37ef847cf 100644 --- a/std/path/_util.ts +++ b/std/path/_util.ts @@ -4,13 +4,13 @@ import type { FormatInputPathObject } from "./_interface.ts"; import { - CHAR_UPPERCASE_A, - CHAR_LOWERCASE_A, - CHAR_UPPERCASE_Z, - CHAR_LOWERCASE_Z, + CHAR_BACKWARD_SLASH, CHAR_DOT, CHAR_FORWARD_SLASH, - CHAR_BACKWARD_SLASH, + CHAR_LOWERCASE_A, + CHAR_LOWERCASE_Z, + CHAR_UPPERCASE_A, + CHAR_UPPERCASE_Z, } from "./_constants.ts"; export function assertPath(path: string): void { diff --git a/std/path/glob_test.ts b/std/path/glob_test.ts index 015988cfe..96cab43dc 100644 --- a/std/path/glob_test.ts +++ b/std/path/glob_test.ts @@ -1,8 +1,8 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../testing/asserts.ts"; import { - GlobToRegExpOptions, globToRegExp, + GlobToRegExpOptions, isGlob, joinGlobs, normalizeGlob, diff --git a/std/path/parse_format_test.ts b/std/path/parse_format_test.ts index 1b34ddc29..785588359 100644 --- a/std/path/parse_format_test.ts +++ b/std/path/parse_format_test.ts @@ -3,7 +3,7 @@ import type { FormatInputPathObject, ParsedPath } from "./mod.ts"; import { assertEquals } from "../testing/asserts.ts"; -import { win32, posix } from "./mod.ts"; +import { posix, win32 } from "./mod.ts"; type FormatTestCase = [FormatInputPathObject, string]; type ParseTestCase = [string, ParsedPath]; diff --git a/std/path/posix.ts b/std/path/posix.ts index 33b94a916..68ffb06c9 100644 --- a/std/path/posix.ts +++ b/std/path/posix.ts @@ -6,10 +6,10 @@ import type { FormatInputPathObject, ParsedPath } from "./_interface.ts"; import { CHAR_DOT, CHAR_FORWARD_SLASH } from "./_constants.ts"; import { + _format, assertPath, - normalizeString, isPosixPathSeparator, - _format, + normalizeString, } from "./_util.ts"; export const sep = "/"; diff --git a/std/path/win32.ts b/std/path/win32.ts index 19b29a6b9..246c18a97 100644 --- a/std/path/win32.ts +++ b/std/path/win32.ts @@ -4,18 +4,18 @@ import type { FormatInputPathObject, ParsedPath } from "./_interface.ts"; import { - CHAR_DOT, CHAR_BACKWARD_SLASH, CHAR_COLON, + CHAR_DOT, CHAR_QUESTION_MARK, } from "./_constants.ts"; import { + _format, assertPath, isPathSeparator, isWindowsDeviceRoot, normalizeString, - _format, } from "./_util.ts"; import { assert } from "../_util/assert.ts"; |