From 75dab82adbf64cb021b0133771a782c285991a4b Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 27 Jan 2019 13:19:56 +0900 Subject: Port prettier (denoland/deno_std#156) Original: https://github.com/denoland/deno_std/commit/b792fe8c7234287ce133e15d63cae5295256fd19 --- fs/path/interface.ts | 2 +- fs/path/mod.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fs') diff --git a/fs/path/interface.ts b/fs/path/interface.ts index a140a4ca5..b31c89ea7 100644 --- a/fs/path/interface.ts +++ b/fs/path/interface.ts @@ -24,4 +24,4 @@ export interface ParsedPath { name: string; } -export type FormatInputPathObject = Partial +export type FormatInputPathObject = Partial; diff --git a/fs/path/mod.ts b/fs/path/mod.ts index 114c904a2..7adb230d2 100644 --- a/fs/path/mod.ts +++ b/fs/path/mod.ts @@ -980,7 +980,7 @@ export const win32 = { } else { ret.name = path.slice(startPart, startDot); ret.base = path.slice(startPart, end); - ret.ext = path.slice(startDot, end); + ret.ext = path.slice(startDot, end); } // If the directory is the root, use the entire root as the `dir` including -- cgit v1.2.3