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) {
10911091 // required by the spec
10921092 // this simple truthy check for whether ` url` contains a file extension will
10931093 // 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)
10951095 const isFilePath = !!extname(url);
10961096 // If it is a file path, get the directory it's in
10971097 const dir = isFilePath ?
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const assert = require('assert');
3434 assert . ok ( stderr . includes ( 'ERR_UNKNOWN_FILE_EXTENSION' ) ) ;
3535 if ( fixturePath . includes ( 'noext' ) ) {
3636 // Check for explanation to users
37- assert . ok ( stderr . includes ( 'Extension-less ' ) ) ;
37+ assert . ok ( stderr . includes ( 'extensionless ' ) ) ;
3838 }
3939 } ) ) ;
4040} ) ;
You can’t perform that action at this time.
0 commit comments