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 ff315a9 commit a8cd283Copy full SHA for a8cd283
lib/index.js
@@ -84,7 +84,7 @@ module.exports = function setupHook({
84
*/
85
function fetch(_to, from) {
86
// getting absolute path to the processing file
87
- const filename = /\w/i.test(_to[0])
+ const filename = /[^\\/?%*:|"<>\.]/i.test(_to[0])
88
? require.resolve(_to)
89
: resolve(dirname(from), _to);
90
0 commit comments