From 455305dae7d14c1ecea651fcff4de91fd1a57591 Mon Sep 17 00:00:00 2001 From: Kevin Dice Date: Mon, 27 Sep 2021 15:21:44 -0600 Subject: [PATCH] fix: spacing --- plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.js b/plugin.js index a041d2f..38b2d06 100644 --- a/plugin.js +++ b/plugin.js @@ -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) @@ -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: ['*'] }, } }