build-tools icon indicating copy to clipboard operation
build-tools copied to clipboard

Prevent duplicate identical sanitization warnings

Open codebytere opened this issue 2 years ago • 0 comments

Example:

electron on git:fix-drag-regions ❯ e build                                                  1:53PM
Checking for build-tools updates
Running "git pull --rebase --autostash" in /Users/codebytere/.electron_build_tools
From https://github.com/electron/build-tools
 - [deleted]         (none)     -> origin/optionally-delete-old-xcodes
   61f271c..18e729a  main       -> origin/main
Running "npx yarn --prod" in /Users/codebytere/.electron_build_tools
warning " > @electron/[email protected]" has unmet peer dependency "typescript@^4.5.5".
build-tools updated to latest version!
WARN We've made these temporary changes to your configuration:
 * defined preserveXcode to default value of 5
Run "e sanitize-config" to make these changes permanent.
WARN We've made these temporary changes to your configuration:
 * defined preserveXcode to default value of 5
Run "e sanitize-config" to make these changes permanent.
Running "e load-xcode --quiet"
WARN We've made these temporary changes to your configuration:
 * defined preserveXcode to default value of 5
Run "e sanitize-config" to make these changes permanent.
WARN We've made these temporary changes to your configuration:
 * defined preserveXcode to default value of 5
Run "e sanitize-config" to make these changes permanent.
WARN We've made these temporary changes to your configuration:
 * defined preserveXcode to default value of 5
Run "e sanitize-config" to make these changes permanent.
Running "autoninja -j 200 electron" in /Users/codebytere/Developer/electron-gn/src/out/Testing
Proxy started successfully.

We should only warn once for a given command.

codebytere avatar Jan 20 '24 12:01 codebytere