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

Make relative reporterOutput paths optional #214

Merged
merged 2 commits into from
Jan 23, 2016

Conversation

sjhewitt
Copy link
Contributor

As discussed in #202, making the reporter output filenames causes problems in some cases - in my specific usecase, I'm using the junit reporter, and putting the reporter output into a folder for use in CircleCI reporting.
This change adds the reportOutputRelative option that can be set to false to disable the altering of paths to be relative.

@realityking
Copy link

I just ran into this issue, could this be merged? Thank you.

/cc @XhmikosR @vladikoff

@@ -156,7 +156,9 @@ exports.init = function(grunt) {
var reporterOutputDir;
// Get reporter output directory for relative paths in reporters
if (options.hasOwnProperty('reporterOutput')) {
reporterOutputDir = path.dirname(options.reporterOutput);
if(options.reporterOutputRelative) {
Copy link
Member

Choose a reason for hiding this comment

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

Space after the if keyword

vladikoff added a commit that referenced this pull request Jan 23, 2016
Make relative reporterOutput paths optional
@vladikoff vladikoff merged commit baa5913 into gruntjs:master Jan 23, 2016
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.

4 participants