You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/me is working on dependency of $package checked out to $PWD/node_modules/$dep
/me $ yarn add chart.js
/yarn rm -rf $PWD/node_modules/$dep
/yarn oh gee just deleted everything you hadn't pushed yet bummer huh
What is the expected behavior?
/me is working on dependency of $package checked out to $PWD/node_modules/$dep
/me $ yarn add chart.js
/yarn rm -rf $PWD/node_modules/$dep -i <- hey I'm about to nuke all your work. Should I do that?
The text was updated successfully, but these errors were encountered:
Would there be receptiveness to a PR making yarn warn before deletion, giving user the option to back out of an add and telling them to link if their changes are intentional.
arcanis
changed the title
YARN SILENTLY DELETES PACKAGES WITH .git DIRECTORY IN NODE_MODULES ON ADD
yarn silently deletes packages with .git directory in node_modules on add
Oct 10, 2018
BUG
What is the current behavior?
/me is working on dependency of $package checked out to
$PWD/node_modules/$dep
/me
$ yarn add chart.js
/yarn
rm -rf $PWD/node_modules/$dep
/yarn oh gee just deleted everything you hadn't pushed yet bummer huh
What is the expected behavior?
/me is working on dependency of $package checked out to
$PWD/node_modules/$dep
/me
$ yarn add chart.js
/yarn
rm -rf $PWD/node_modules/$dep -i
<- hey I'm about to nuke all your work. Should I do that?The text was updated successfully, but these errors were encountered: