Skip to content

Commit

Permalink
Merge pull request NixOS#276130 from szlend/redocly-cli-silence-updates
Browse files Browse the repository at this point in the history
redocly-cli: silence update messages
  • Loading branch information
kirillrdy authored Jan 21, 2024
2 parents 3af4a82 + 5cdbbaa commit d33fc5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/by-name/re/redocly-cli/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit d33fc5d

Please sign in to comment.