Skip to content

Commit 5a782ba

Browse files
committed
only do git submodule update once
1 parent 7e93e50 commit 5a782ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"genc": "bit-docs -dc",
2626
"genf": "bit-docs -df",
2727
"gh-pages": "gh-pages -d gh-pages",
28-
"postinstall": "git submodule update --init",
28+
"preinstall": "[ -f docs/modules/bit-docs/package.json ] || git submodule update --init",
2929
"pub": "npm run gh-pages",
3030
"see": "http-server gh-pages",
3131
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)