Skip to content

Commit

Permalink
Fix remove-unused-fields in CI (#409)
Browse files Browse the repository at this point in the history
* Fix remove-unused-fields in CI

* Add remove-unused-fields fix to changelog
  • Loading branch information
DZakh authored Nov 24, 2022
1 parent 84623b8 commit 4362511
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# master

# 1.0.3

## Bug Fixes

- Fix the `remove-unused-fields` script for CI with Node.js version >14 in [#409](https://github.com/zth/rescript-relay/pull/409)

# 1.0.2

## Bug Fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const addRemoveUnusedFieldsCommand = (program: Command) => {

const spinner = ora("Analyzing ReScript project").start();

const p = cp.spawn("npx", ["reanalyze", "-dce"]);
const p = cp.spawn("npx", ["--yes", "reanalyze", "-dce"]);

if (p.stdout == null) {
console.error("Something went wrong.");
Expand Down

0 comments on commit 4362511

Please sign in to comment.