summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/scripts/utils/check-is-in-git-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sdk/scripts/utils/check-is-in-git-install.sh')
-rwxr-xr-xpackages/sdk/scripts/utils/check-is-in-git-install.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/packages/sdk/scripts/utils/check-is-in-git-install.sh b/packages/sdk/scripts/utils/check-is-in-git-install.sh
deleted file mode 100755
index 1354eb432..000000000
--- a/packages/sdk/scripts/utils/check-is-in-git-install.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env bash
-# Check if you happen to call prepare for a repository that's already in node_modules.
-[ "$(basename "$(dirname "$PWD")")" = 'node_modules' ] ||
-# The name of the containing directory that 'npm` uses, which looks like
-# $HOME/.npm/_cacache/git-cloneXXXXXX
-[ "$(basename "$(dirname "$PWD")")" = 'tmp' ] ||
-# The name of the containing directory that 'yarn` uses, which looks like
-# $(yarn cache dir)/.tmp/XXXXX
-[ "$(basename "$(dirname "$PWD")")" = '.tmp' ]