Skip to content

Commit

Permalink
Fix passing boolean args to Wattsi
Browse files Browse the repository at this point in the history
This regressed in 549e077.
  • Loading branch information
domenic committed Oct 31, 2023
1 parent 93628bb commit e042f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ router.post("/wattsi", bodyParser, async ctx => {
const outDirectory = newTempDirectoryName();
await mkdir(outDirectory, { recursive: true });

const args = [sourceFilePath, sha, outDirectory, buildType, mdnFilePath, ...booleanArgs];
const args = [...booleanArgs, sourceFilePath, sha, outDirectory, buildType, mdnFilePath];

try {
try {
Expand Down

0 comments on commit e042f0a

Please sign in to comment.