Skip to content

Commit

Permalink
📦 Update core devDependencies (ampproject#34748)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and Mahir committed Sep 9, 2021
1 parent 9680c2f commit 8563215
Show file tree
Hide file tree
Showing 3 changed files with 1,672 additions and 1,343 deletions.
4 changes: 2 additions & 2 deletions build-system/common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function getExperimentConfig(experiment) {
* @return {!Array<string>}
*/
function getFilesChanged(globs, options) {
const allFiles = globby.sync(globs, options);
const allFiles = globby.sync(globs, options).map(String);
return gitDiffNameOnlyMain().filter((changedFile) => {
return fs.existsSync(changedFile) && allFiles.includes(changedFile);
});
Expand Down Expand Up @@ -133,7 +133,7 @@ function getFilesToCheck(globs, options = {}, ignoreFile = undefined) {
}
return logFiles(filesChanged);
}
return ignored.filter(globby.sync(globs, options));
return ignored.filter(globby.sync(globs, options).map(String));
}

/**
Expand Down
Loading

0 comments on commit 8563215

Please sign in to comment.