Merge pull request #276130 from szlend/redocly-cli-silence-updates
redocly-cli: silence update messages
This commit is contained in:
commit
d33fc5d7ee
1 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,10 @@ buildNpmPackage rec {
|
|||
cp -R packages/core $out/lib/node_modules/@redocly/cli/node_modules/@redocly/openapi-core
|
||||
|
||||
mkdir $out/bin
|
||||
makeWrapper $out/lib/node_modules/@redocly/cli/node_modules/@redocly/cli/bin/cli.js $out/bin/redocly-cli --set REDOCLY_TELEMETRY off
|
||||
makeWrapper $out/lib/node_modules/@redocly/cli/node_modules/@redocly/cli/bin/cli.js \
|
||||
$out/bin/redocly-cli \
|
||||
--set-default REDOCLY_TELEMETRY off \
|
||||
--set-default CI true # Silence update messages
|
||||
'';
|
||||
|
||||
installCheckPhase = ''
|
||||
|
|
Loading…
Reference in a new issue