From 14877f7fe21573e1ed0ce696a107543bbba995b2 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sun, 22 Nov 2020 13:06:51 +0000 Subject: 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. --- core/module_specifier.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 { let path = current_dir().unwrap().join(path_str); -- cgit v1.2.3