diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-09-15 18:36:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 18:36:27 -0400 |
commit | c9ef182886cc07d35a5b27fb89163d8cf21a6a47 (patch) | |
tree | 6ba1605daa7e9e8cac3f6b926374086906f571b5 /js/version_test.ts | |
parent | 1d305c2ac785af6b28649f2023d5008e390eeca0 (diff) |
Make deno_cli installable via crates.io (#2946)
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and
deno_cli.
- Combines cli_snapshots and js into one directory.
- Extracts TS version at compile time rather than runtime
- Bumps version awkwardly - it was necessary to test end-to-end
publishing. Sorry.
- Adds git submodule deno_typescript/typescript
Diffstat (limited to 'js/version_test.ts')
-rw-r--r-- | js/version_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/version_test.ts b/js/version_test.ts index 7cc7bd404..b32230812 100644 --- a/js/version_test.ts +++ b/js/version_test.ts @@ -1,7 +1,7 @@ import { test, assert } from "./test_util.ts"; test(function version(): void { - const pattern = /^\d+\.\d+\.\d+$/; + const pattern = /^\d+\.\d+\.\d+/; assert(pattern.test(Deno.version.deno)); assert(pattern.test(Deno.version.v8)); assert(pattern.test(Deno.version.typescript)); |