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

Modified setOutputPath to correctly handle extensions. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RedHatter
Copy link

Modified setOutputPath as we discussed in Gitter.

if (extension)
output = output.replace(path.extname(output), '.'+extension)

file = new File(this.conf.output.path, output)
Copy link
Member

Choose a reason for hiding this comment

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

Make sure to run npm lint to check for lint errors, there are few in here like multi-line if/for statements without brackets

@RedHatter
Copy link
Author

I fixed the linter problems (sorry about that), but I'm unfamiliar with coveralls/your test suit.

@jescalan
Copy link
Member

Thank you! If it helps at all, this is our contributing guide 😁

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