There was an error while loading. Please reload this page.
1 parent ef9eef5 commit a08318dCopy full SHA for a08318d
1 file changed
script/bootstrap.sh
@@ -9,18 +9,17 @@ run () {
9
echo "Installing dependencies..."
10
11
# Running twice fixes missing
12
- npm install && npm install
+ npm install --silent && npm install --silent
13
14
echo "${sha}" > "${sha_file}"
15
}
16
17
-run
18
-# if test -f "${sha_file}"; then
19
-# old_sha=$(cat $sha_file)
20
-# if [[ "${old_sha}" != "${sha}" ]]; then
21
-# run
22
-# fi
23
-# else
24
25
26
-#
+if test -f "${sha_file}"; then
+ old_sha=$(cat $sha_file)
+ if [[ "${old_sha}" != "${sha}" ]]; then
+ run
+ fi
+else
+fi
+
0 commit comments