From 2be1282be42369e558cc77f75b22488ce7a8215e Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sun, 8 Jan 2023 09:03:55 -0500 Subject: fix(install): should always include `--no-config` in shim unless `--config` is specified (#17300) Closes #17294 --- cli/tests/install_tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/tests') diff --git a/cli/tests/install_tests.rs b/cli/tests/install_tests.rs index f0714e200..4b6efc924 100644 --- a/cli/tests/install_tests.rs +++ b/cli/tests/install_tests.rs @@ -55,12 +55,12 @@ mod install { if cfg!(windows) { assert_contains!( content, - r#""run" "--check" "http://localhost:4545/echo.ts""# + r#""run" "--check" "--no-config" "http://localhost:4545/echo.ts""# ); } else { assert_contains!( content, - r#"run --check 'http://localhost:4545/echo.ts'"# + r#"run --check --no-config 'http://localhost:4545/echo.ts'"# ); } @@ -121,12 +121,12 @@ mod install { if cfg!(windows) { assert_contains!( content, - r#""run" "--check" "http://localhost:4545/echo.ts""# + r#""run" "--check" "--no-config" "http://localhost:4545/echo.ts""# ); } else { assert_contains!( content, - r#"run --check 'http://localhost:4545/echo.ts'"# + r#"run --check --no-config 'http://localhost:4545/echo.ts'"# ); } } -- cgit v1.2.3