Skip to content

Commit

Permalink
Merge pull request #5 from github/aibaars-patch-1
Browse files Browse the repository at this point in the history
Fix parsing of path-ignore field
  • Loading branch information
Arthur Baars authored and GitHub committed Apr 29, 2020
2 parents 28ccc3d + e7afa7c commit 72f1ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/config-utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/config-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function initConfig(): Config {
}

const pathsIgnore = parsedYAML['paths-ignore'];
if (pathsIgnore && queries instanceof Array) {
if (pathsIgnore && pathsIgnore instanceof Array) {
pathsIgnore.forEach(path => {
if (typeof path === "string") {
config.pathsIgnore.push(path);
Expand Down

0 comments on commit 72f1ed0

Please sign in to comment.