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

Fix #25, all falsy pattern values and empty arrays are now treated the same #35

Merged
merged 1 commit into from
Jul 21, 2018

Conversation

mdvorscak
Copy link
Contributor

Some falsy values were getting past the previous check if(val == null) which ended up creating some wacky directory structures. And in the case of issue 25, attempting to write to root (or if running as sudo actually writing to root, which could be quite dangerous).

@jarodtaylor
Copy link

Is this going to get merged in? I'm having the issues discussed in issue 25.

@woodyrew woodyrew merged commit 937a52c into metalsmith:master Jul 21, 2018
@woodyrew
Copy link
Member

Thanks for the PR

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.

3 participants