PR-URL: https://github.com/nodejs/node/pull/42678 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
10 lines
273 B
JavaScript
10 lines
273 B
JavaScript
"use strict";
|
|
|
|
module.exports = function(it) {
|
|
const { pattern, globDisabled } = it;
|
|
|
|
return `
|
|
No files matching the pattern "${pattern}"${globDisabled ? " (with disabling globs)" : ""} were found.
|
|
Please check for typing mistakes in the pattern.
|
|
`.trimStart();
|
|
};
|