update, text, response
This commit is contained in:
3
node_modules/replace-ext/index.js
generated
vendored
3
node_modules/replace-ext/index.js
generated
vendored
@@ -26,7 +26,8 @@ function replaceExt(npath, ext) {
|
||||
|
||||
function startsWithSingleDot(fpath) {
|
||||
var first2chars = fpath.slice(0, 2);
|
||||
return first2chars === '.' + path.sep || first2chars === './';
|
||||
return (first2chars === '.' + path.sep) ||
|
||||
(first2chars === './');
|
||||
}
|
||||
|
||||
module.exports = replaceExt;
|
||||
|
||||
Reference in New Issue
Block a user