diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-11-22 13:06:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-22 14:06:51 +0100 |
commit | 14877f7fe21573e1ed0ce696a107543bbba995b2 (patch) | |
tree | af260fdab14b2afac2400341c536ea7d2dca0570 /core/module_specifier.rs | |
parent | 686a17fc075ead774f5b692329d11e72139e3f02 (diff) |
feat(unstable): Add deno test --no-run (#8093)
This commit adds new flag to "deno test" subcommand
called "--no-run" that allows to preload, cache an type
check.
Diffstat (limited to 'core/module_specifier.rs')
-rw-r--r-- | core/module_specifier.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/module_specifier.rs b/core/module_specifier.rs index 82452c067..aec568d47 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. - fn resolve_path( + pub fn resolve_path( path_str: &str, ) -> Result<ModuleSpecifier, ModuleResolutionError> { let path = current_dir().unwrap().join(path_str); |