diff options
author | Luca Casonato <luca.casonato@antipy.com> | 2020-05-23 15:37:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 09:37:12 -0400 |
commit | 6feca0ef8bec69f4940c28a9ac0b6a0eeb6884ba (patch) | |
tree | b36615f992f00cfef42fc4611af52a2accfbef63 /cli/js | |
parent | 3b86552d669b44c13f8dcf72e1147f79e9f680c6 (diff) |
Fix Deno.dir and Diagnostics being present at stable runtime (#5750)
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/deno.ts | 8 | ||||
-rw-r--r-- | cli/js/deno_unstable.ts | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/cli/js/deno.ts b/cli/js/deno.ts index 5843d5fbf..5bc69fc7b 100644 --- a/cli/js/deno.ts +++ b/cli/js/deno.ts @@ -13,12 +13,6 @@ export { chmodSync, chmod } from "./ops/fs/chmod.ts"; export { chownSync, chown } from "./ops/fs/chown.ts"; export { customInspect, inspect } from "./web/console.ts"; export { copyFileSync, copyFile } from "./ops/fs/copy_file.ts"; -export { - Diagnostic, - DiagnosticCategory, - DiagnosticItem, - DiagnosticMessageChain, -} from "./diagnostics.ts"; export { chdir, cwd } from "./ops/fs/dir.ts"; export { errors } from "./errors.ts"; export { @@ -59,7 +53,7 @@ export { export { metrics, Metrics } from "./ops/runtime.ts"; export { mkdirSync, mkdir, MkdirOptions } from "./ops/fs/mkdir.ts"; export { connect, listen, Listener, Conn } from "./net.ts"; -export { dir, env, exit, execPath } from "./ops/os.ts"; +export { env, exit, execPath } from "./ops/os.ts"; export { run, RunOptions, Process, ProcessStatus } from "./process.ts"; export { DirEntry, readDirSync, readDir } from "./ops/fs/read_dir.ts"; export { readFileSync, readFile } from "./read_file.ts"; diff --git a/cli/js/deno_unstable.ts b/cli/js/deno_unstable.ts index 4d964f3bd..192137e1f 100644 --- a/cli/js/deno_unstable.ts +++ b/cli/js/deno_unstable.ts @@ -23,3 +23,9 @@ export { PermissionStatus, Permissions, } from "./permissions.ts"; +export { + Diagnostic, + DiagnosticCategory, + DiagnosticItem, + DiagnosticMessageChain, +} from "./diagnostics.ts"; |