Skip to content

Commit

Permalink
Reduce logs when formatting JS
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Dec 5, 2024
1 parent 307c02a commit 85b8611
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"scripts": {
"deploy": "node build.js --deploy",
"watch": "node build.js --watch",
"format": "prettier --write '{js,test,css}/**/*.{js,json,css,md}' '*.js' --no-error-on-unmatched-pattern",
"format-check": "prettier --check '{js,test,css}/**/*.{js,json,css,md}' '*.js' --no-error-on-unmatched-pattern",
"format": "prettier --write '{js,test,css}/**/*.{js,json,css,md}' '*.js' --no-error-on-unmatched-pattern --log-level warn",
"format-check": "prettier --check '{js,test,css}/**/*.{js,json,css,md}' '*.js' --no-error-on-unmatched-pattern --log-level warn",
"test": "jest",
"test:watch": "jest --watch"
},
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defmodule Livebook.MixProject do
[
setup: ["deps.get", "cmd --cd assets npm install"],
"assets.deploy": ["cmd npm run deploy --prefix assets"],
"format.all": ["format", "cmd --cd assets npm run format"],
"format.all": ["format", "cmd --cd assets npm run --silent format"],
"protobuf.generate": ["cmd --cd proto mix protobuf.generate"],
"phx.server": ["livebook.gen_priv", "phx.server"],
"escript.build": ["livebook.gen_priv", "escript.build"],
Expand Down

0 comments on commit 85b8611

Please sign in to comment.