summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-10-23 16:56:25 +0200
committerGitHub <noreply@github.com>2020-10-23 16:56:25 +0200
commit9d363312782f00a871c13cd3b0c23617f5e1929d (patch)
tree6f3d292e27bcce984e0eb4828e030b2b877ee364 /core
parentbe15cf285dbf3a7b3025d34cb80e87e54a55dd93 (diff)
Revert "feat(cli): Add deno cache --test and --worker (#7920)" (#8089)
This reverts commit be15cf285dbf3a7b3025d34cb80e87e54a55dd93.
Diffstat (limited to 'core')
-rw-r--r--core/module_specifier.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/module_specifier.rs b/core/module_specifier.rs
index aec568d47..82452c067 100644
--- a/core/module_specifier.rs
+++ b/core/module_specifier.rs
@@ -149,7 +149,7 @@ impl ModuleSpecifier {
/// Converts a string representing a relative or absolute path into a
/// ModuleSpecifier. A relative path is considered relative to the current
/// working directory.
- pub fn resolve_path(
+ fn resolve_path(
path_str: &str,
) -> Result<ModuleSpecifier, ModuleResolutionError> {
let path = current_dir().unwrap().join(path_str);