Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple specs folders in affected task. #13295

Merged
merged 2 commits into from
Dec 27, 2017

Conversation

ivanmalagon
Copy link
Contributor

This PR allows to configure multiple specs folders to take them into account while building the list of affected specs.

getAffectedFilesFrom(flattenFiles);
})
.catch(function (error) {
console.error(err);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'err' is not defined no-undef

const flattenFiles = [].concat.apply([], files);
getAffectedFilesFrom(flattenFiles);
})
.catch(function (error) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected error to be handled handle-callback-err

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error is handled by showing it in the console.

@@ -158,7 +164,17 @@ var main = function (testsFolder, replacements, modifiedFiles, filesRegex) {
console.error(colors.red(reason));
process.exit(-1);
});
});
};

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary semicolon no-extra-semi

console.error(err);
process.exit(1);
}
function promiseMap(xs, f) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space before function parentheses space-before-function-paren

@ivanmalagon ivanmalagon merged commit 392f821 into master Dec 27, 2017
@ivanmalagon ivanmalagon deleted the fix-di-affected-specs branch December 27, 2017 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants