Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/stylelint/lib/utils/noFilesFoundError.js')
-rw-r--r--assets/node_modules/stylelint/lib/utils/noFilesFoundError.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/assets/node_modules/stylelint/lib/utils/noFilesFoundError.js b/assets/node_modules/stylelint/lib/utils/noFilesFoundError.js
deleted file mode 100644
index e3300be..0000000
--- a/assets/node_modules/stylelint/lib/utils/noFilesFoundError.js
+++ /dev/null
@@ -1,20 +0,0 @@
-'use strict';
-
-class NoFilesFoundError extends Error {
- /**
- * @param {string|string[]} fileList
- */
- constructor(fileList) {
- super();
-
- if (typeof fileList === 'string') {
- fileList = [fileList];
- }
-
- const pattern = fileList.filter((i) => !i.startsWith('!')).join(', ');
-
- this.message = `No files matching the pattern "${pattern}" were found.`;
- }
-}
-
-module.exports = NoFilesFoundError;