Skip to content

Commit 126efaf

Browse files
committed
spelling: separator
1 parent 74b060a commit 126efaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/RequestShortener.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class RequestShortener {
3131
}
3232

3333
const dirname = path.dirname(directory);
34-
const endsWithSeperator = SEPARATOR_REGEXP.test(dirname);
35-
const parentDirectory = endsWithSeperator
34+
const endsWithSeparator = SEPARATOR_REGEXP.test(dirname);
35+
const parentDirectory = endsWithSeparator
3636
? dirname.substr(0, dirname.length - 1)
3737
: dirname;
3838
if (parentDirectory && parentDirectory !== directory) {

0 commit comments

Comments
 (0)