We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b060a commit 126efafCopy full SHA for 126efaf
lib/RequestShortener.js
@@ -31,8 +31,8 @@ class RequestShortener {
31
}
32
33
const dirname = path.dirname(directory);
34
- const endsWithSeperator = SEPARATOR_REGEXP.test(dirname);
35
- const parentDirectory = endsWithSeperator
+ const endsWithSeparator = SEPARATOR_REGEXP.test(dirname);
+ const parentDirectory = endsWithSeparator
36
? dirname.substr(0, dirname.length - 1)
37
: dirname;
38
if (parentDirectory && parentDirectory !== directory) {
0 commit comments