mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
chore: pipe stdout from npm ls to /dev/null (#1566)
As part of our CI sanity checks, we run `npm ls`, to ensure we don't have any extraneous dependencies (the command fails if so), however by its own definition, `npm ls` prints the whole dependency tree, which spams the builds. This commit redirects stdout to /dev/null, which contains the dependency tree, but still prints and extraneous dependency warning, which is printed to stderr instead. Change-Type: patch Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
parent
c2563c2f87
commit
2e3a2f045e
@ -22,4 +22,4 @@ set -e
|
||||
# This command will exit with an error code if there
|
||||
# are invalid or extraneous dependencies, printing the
|
||||
# problematic ones if so.
|
||||
npm ls
|
||||
npm ls >/dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user