Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
surma committed Apr 24, 2021
1 parent ac3d6c4 commit b26ed1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rollup.lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const libBundles = [
{
input: "lib/lib.js",
output: {
file: pkg.main,
file: pkg.module.replace("esm", "cjs"),
format: "cjs",
sourcemap: sourcemapOption
},
Expand Down
2 changes: 1 addition & 1 deletion test/test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async function getNumFailingTestsInPuppeteer() {
const testFiles = await glob("./tests/**/test.js");
const browser = await pptr.launch({
devtools: OPEN_DEVTOOLS,
...(process.env.PUPPETEER_EXECUTABLE_PATH.length > 0
...(process.env.PUPPETEER_EXECUTABLE_PATH?.length > 0
? { executablePath: process.env.PUPPETEER_EXECUTABLE_PATH }
: {})
});
Expand Down

0 comments on commit b26ed1a

Please sign in to comment.