Skip to content

Commit 27af18a

Browse files
authored
Do not dirty repo when installing via npm (#119)
1 parent 854e515 commit 27af18a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ -x "$(command -v yarn)" ]; then
99
ln -fs "${LIBDIR}/node_modules/.bin/lehre" "${LIBDIR}/lehre"
1010
elif [ -x "$(command -v npm)" ]; then
1111
cd "$LIBDIR"
12-
npm install
12+
npm install --no-package-lock
1313
ln -fs "${LIBDIR}/node_modules/.bin/lehre" "${LIBDIR}/lehre"
1414
else
1515
echo 'Neither yarn nor npm was found on your path' >&2

0 commit comments

Comments
 (0)