summaryrefslogtreecommitdiff
path: root/fs/walk.ts
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-02-25 21:35:50 -0800
committerRyan Dahl <ry@tinyclouds.org>2019-02-26 00:35:50 -0500
commit2ba7de2d04fb7fb5847b86d9c549f1cbf9c68d5a (patch)
treeca85b441bcfcebd48ac1fb4e262d836215242167 /fs/walk.ts
parenta7bf19135352928c87b5e1068252e0490990cec3 (diff)
Change `import { x } from "deno"` to `const { x } = Deno` (denoland/deno_std#218)
Original: https://github.com/denoland/deno_std/commit/6063378a9284a48d42e37b4899f947c5c8bbf0b3
Diffstat (limited to 'fs/walk.ts')
-rw-r--r--fs/walk.ts13
1 files changed, 2 insertions, 11 deletions
diff --git a/fs/walk.ts b/fs/walk.ts
index 92e4ba593..10393ae0b 100644
--- a/fs/walk.ts
+++ b/fs/walk.ts
@@ -1,14 +1,5 @@
-import {
- FileInfo,
- cwd,
- readDir,
- readDirSync,
- readlink,
- readlinkSync,
- stat,
- statSync
-} from "deno";
-import { relative } from "path.ts";
+const { readDir, readDirSync, readlink, readlinkSync, stat, statSync } = Deno;
+import { FileInfo } from "deno";
export interface WalkOptions {
maxDepth?: number;