Skip to content

Commit

Permalink
fix: spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
kdnutrien committed Sep 27, 2021
1 parent 567ff8f commit 455305d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ app.post('/', bodyParser.json({limit: '50mb'}), async (req, res) => {
if (!s.when || !s.when.changeset || !s.when.changeset.includes) {
return s;
}

const requiredFiles = s.when.changeset.includes
const matchedFiles = glob.match(requiredFiles, filesChanged, { dot: true })
console.log('Matched files for step:', matchedFiles.length, 'Allowed matches:', requiredFiles)
Expand All @@ -71,7 +71,7 @@ app.post('/', bodyParser.json({limit: '50mb'}), async (req, res) => {
// Add an impossible conditional which guarantees the step gets skipped
s.when = {
...s.when,
event: { exclude: ['*']},
event: { exclude: ['*'] },
}
}

Expand Down

0 comments on commit 455305d

Please sign in to comment.