Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Ensure package is removed from the tree
  • Loading branch information
Timer committed Oct 29, 2017
commit 05d060fd07952718aa685c0c2cc9fc1e07e6cc2f
6 changes: 6 additions & 0 deletions tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,14 @@ function create_react_app {
}

function install_package {
# Clean target
rm -rf node_modules/$(basename $1)/
rm -rf node_modules/**/$(basename $1)/

# Copy package into node_modules/
rsync -a ${1%/} node_modules/ --exclude node_modules

# Install `dependencies`
cd node_modules/$(basename $1)/
if [ "$USE_YARN" = "yes" ]
then
Expand Down