Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Etheryte committed Mar 29, 2022
1 parent c4a4ca5 commit ac0576f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions web/html/src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,7 @@ webpack(config(process.env, { mode: "production" }), (err, stats) => {
if (uncommittedFiles.length) {
console.error(`
It seems changes to license and/or spec files haven't been committed.
Run "yarn build" again and commit the following files: ${uncommittedFiles.join(", ")}`);

// TODO: Only for testing
console.error("uncommitted files:");
console.error(JSON.stringify(uncommittedFiles));

console.error("stdout:");
console.error(`>${stdout}<`);

console.error("git diff");
console.error(`>${shell.exec("git diff", { cwd: rootDir }).stdout}<`);

Please run "yarn build" again and commit the following files: ${uncommittedFiles.join(", ")}`);
process.exitCode = 1;
return;
}
Expand Down

0 comments on commit ac0576f

Please sign in to comment.