From 47d19461a59cc7997f24987d8564e757683b8a5e Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:21:25 -0700 Subject: fix(cli): Overwrite existing bin entries in `node_modules` (#24123) Previously we warned on unix and didn't touch them on windows, now we unconditionally overwrite them. This matches what npm does. --- tests/specs/task/bin_package/__test__.jsonc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/specs/task/bin_package/__test__.jsonc') diff --git a/tests/specs/task/bin_package/__test__.jsonc b/tests/specs/task/bin_package/__test__.jsonc index 19bad633e..d5da4b4e1 100644 --- a/tests/specs/task/bin_package/__test__.jsonc +++ b/tests/specs/task/bin_package/__test__.jsonc @@ -27,17 +27,16 @@ } ] }, - "warns_if_already_setup": { + "clobbers_if_already_setup": { "tempDir": true, "steps": [{ - "if": "unix", "commandName": "npm", "args": "install", "output": "\nadded 1 package in [WILDCARD]\n" }, { "if": "unix", "args": "task sayhi", - "output": "already-set-up.out" + "output": "task.out" }] } } -- cgit v1.2.3