Skip to content

Commit

Permalink
Add flag to action
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Feb 1, 2021
1 parent 533c5fd commit a282d55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action/main.ts
Expand Up @@ -117,6 +117,7 @@ async function run() {
const allowConsoleErrors = getInput('allowConsoleErrors');
const exitZeroOnChanges = getInput('exitZeroOnChanges');
const exitOnceUploaded = getInput('exitOnceUploaded');
const ignoreChangedFiles = getInput('ignoreChangedFiles');
const ignoreLastBuildOnBranch = getInput('ignoreLastBuildOnBranch');

process.env.CHROMATIC_SHA = sha;
Expand Down Expand Up @@ -145,6 +146,7 @@ async function run() {
exitZeroOnChanges: maybe(exitZeroOnChanges, true),
exitOnceUploaded: maybe(exitOnceUploaded, false),
allowConsoleErrors: maybe(allowConsoleErrors, false),
ignoreChangedFiles: maybe(ignoreChangedFiles),
ignoreLastBuildOnBranch: maybe(ignoreLastBuildOnBranch),
});

Expand Down

0 comments on commit a282d55

Please sign in to comment.