mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #276130 from szlend/redocly-cli-silence-updates
redocly-cli: silence update messages
This commit is contained in:
commit
d33fc5d7ee
@ -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 New Issue
Block a user