Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Sep 28, 2017
1 parent 13551c4 commit 12824af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.js
Expand Up @@ -196,7 +196,7 @@ function isSafePath(path) {
const containsWindowsVar = path => path.match(/%.+%/)
const containsPosixVar = path => path.match(/\$.+/)

// Safity checks
// Safety checks
const unsafenessConditions = [
pathModule.isAbsolute(path),
path.includes(`..${pathModule.sep}`),
Expand Down

0 comments on commit 12824af

Please sign in to comment.