diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/cargo_publish_others.py | 4 | ||||
-rwxr-xr-x | tools/complex_permissions_test.py | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/tools/cargo_publish_others.py b/tools/cargo_publish_others.py index 4b57c37c0..83b9b50e2 100755 --- a/tools/cargo_publish_others.py +++ b/tools/cargo_publish_others.py @@ -21,10 +21,6 @@ def main(): os.chdir(os.path.join(root_path, "deno_typescript")) run(cargo_publish) - # Publish the deno_cli_snapshots crate. - os.chdir(os.path.join(root_path, "js")) - run(cargo_publish) - # Publish the deno_cli crate. os.chdir(os.path.join(root_path, "cli")) run(cargo_publish) diff --git a/tools/complex_permissions_test.py b/tools/complex_permissions_test.py index 985f9a972..9f0fcd7e7 100755 --- a/tools/complex_permissions_test.py +++ b/tools/complex_permissions_test.py @@ -55,7 +55,8 @@ class BaseReadWritePermissionsTest(object): def test_outside_test_and_js_dir(self): code, _stdout, stderr = self._run_deno([ "--allow-" + self.test_type + "=" + os.path.join( - root_path, "cli/tests") + "," + os.path.join(root_path, "js") + root_path, "cli/tests") + "," + os.path.join( + root_path, "cli/js") ], [self.test_type, "package.json"]) assert code == 1 assert PROMPT_PATTERN not in stderr @@ -64,8 +65,12 @@ class BaseReadWritePermissionsTest(object): def test_inside_test_and_js_dir(self): code, _stdout, stderr = self._run_deno([ "--allow-" + self.test_type + "=" + os.path.join( - root_path, "cli/tests") + "," + os.path.join(root_path, "js") - ], [self.test_type, "js/dir_test.ts", "cli/tests/subdir/config.json"]) + root_path, "cli/tests") + "," + os.path.join( + root_path, "cli/js") + ], [ + self.test_type, "cli/js/dir_test.ts", + "cli/tests/subdir/config.json" + ]) assert code == 0 assert PROMPT_PATTERN not in stderr assert PERMISSION_DENIED_PATTERN not in stderr |