Skip to content

Commit

Permalink
redocly-cli: silence update messages
Browse files Browse the repository at this point in the history
  • Loading branch information
szlend committed Dec 22, 2023
1 parent 66bda59 commit 5cdbbaa
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 5cdbbaa

Please sign in to comment.