From 5319b85f14d919c8a3f390a8db53c95922f1cf8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 5 Sep 2024 12:51:37 +0100 Subject: feat(uninstall): alias to 'deno remove' if -g flag missing (#25461) Close https://github.com/denoland/deno/issues/25457 --- tests/integration/install_tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/integration/install_tests.rs b/tests/integration/install_tests.rs index 7d671e020..2c7725443 100644 --- a/tests/integration/install_tests.rs +++ b/tests/integration/install_tests.rs @@ -62,7 +62,7 @@ fn install_basic() { // now uninstall context .new_command() - .args("uninstall echo_test") + .args("uninstall -g echo_test") .envs([ ("HOME", temp_dir_str.as_str()), ("USERPROFILE", temp_dir_str.as_str()), @@ -139,7 +139,7 @@ fn install_basic_global() { // now uninstall context .new_command() - .args("uninstall echo_test") + .args("uninstall -g echo_test") .envs([ ("HOME", temp_dir_str.as_str()), ("USERPROFILE", temp_dir_str.as_str()), @@ -274,7 +274,7 @@ fn installer_test_remote_module_run() { // now uninstall with the relative path context .new_command() - .args("uninstall --root ./root echo_test") + .args("uninstall -g --root ./root echo_test") .run() .skip_output_check() .assert_exit_code(0); -- cgit v1.2.3