Skip to content

Commit 0e2aab0

Browse files
committed
Fix tox error for NPM test
1 parent 0709ad2 commit 0e2aab0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,13 @@ commands =
4848
fosslight_dependency -v
4949
# Test for PEP8
5050
pytest -v --flake8
51-
# Test for Pypi
51+
# Test for Pypi
5252
fosslight_dependency -p tests/test_pypi -o tests/result/pip
5353
# Test for NPM (without optional command)
54-
npm install --prefix {toxworkdir}/test_npm1 -g license-checker
54+
npm install --prefix {toxworkdir}/test_npm1 license-checker
5555
fosslight_dependency -p tests/test_npm1 -o tests/result/npm1
5656
# Test for NPM (with optional command)
57-
npm install --prefix {toxworkdir}/test_npm2 -g license-checker
58-
npm install --prefix {toxworkdir}/test_npm2
57+
npm install --prefix {toxworkdir}/test_npm2 license-checker
5958
fosslight_dependency -p tests/test_npm2 -o tests/result/npm2 -m npm
6059
# Test for Maven (without optional command)
6160
fosslight_dependency -p tests/test_maven1/lombok.maven -o tests/result/maven1

0 commit comments

Comments
 (0)