Skip to content

Commit

Permalink
Revert "chore: prevent postinstall script running if we're a dependen…
Browse files Browse the repository at this point in the history
…cy to another project"

This reverts commit 06e15d9.
  • Loading branch information
edmulraney committed Aug 23, 2024
1 parent 65e0cfb commit 8e8a776
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions script/install.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
#!/bin/bash

# Only run this postinstall script if we're developing it.
# (Don't run if we're importing this package as an npm dependency
# inside a different repo)
if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
echo "Skipping install script because this is not inside a Git work tree."
exit 0
fi

echo ""
echo "*** Removing submodules"
rm -rf lib/
Expand Down

0 comments on commit 8e8a776

Please sign in to comment.