mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Only run npm install when we really need to
This commit is contained in:
parent
2557b32b20
commit
08c0fb08e8
2 changed files with 2 additions and 2 deletions
|
@ -9,6 +9,6 @@ file_changed() {
|
|||
echo "$changed_files" | grep --quiet "$1"
|
||||
}
|
||||
|
||||
if file_changed package.json || file_changed package-lock.json; then
|
||||
if file_changed package.json; then
|
||||
npm install
|
||||
fi
|
||||
|
|
|
@ -9,6 +9,6 @@ file_changed() {
|
|||
echo "$changed_files" | grep --quiet "$1"
|
||||
}
|
||||
|
||||
if file_changed package.json || file_changed package-lock.json; then
|
||||
if file_changed package.json; then
|
||||
npm install
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue