File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1091,7 +1091,7 @@ async function getPackageType(url) {
1091
1091
// required by the spec
1092
1092
// this simple truthy check for whether ` url` contains a file extension will
1093
1093
// work for most projects but does not cover some edge-cases (such as
1094
- // extension-less files or a url ending in a trailing space)
1094
+ // extensionless files or a url ending in a trailing space)
1095
1095
const isFilePath = !!extname(url);
1096
1096
// If it is a file path, get the directory it's in
1097
1097
const dir = isFilePath ?
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const assert = require('assert');
34
34
assert . ok ( stderr . includes ( 'ERR_UNKNOWN_FILE_EXTENSION' ) ) ;
35
35
if ( fixturePath . includes ( 'noext' ) ) {
36
36
// Check for explanation to users
37
- assert . ok ( stderr . includes ( 'Extension-less ' ) ) ;
37
+ assert . ok ( stderr . includes ( 'extensionless ' ) ) ;
38
38
}
39
39
} ) ) ;
40
40
} ) ;
You can’t perform that action at this time.
0 commit comments