Skip to content

Commit

Permalink
Fix parsing of path-ignore field
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Baars authored and Arthur Baars committed Apr 29, 2020
1 parent 28ccc3d commit e7afa7c
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 e7afa7c

Please sign in to comment.