-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(stylelint): Fix stylelint on windows.
- Loading branch information
Lukas Holzer
committed
Sep 9, 2020
1 parent
0917825
commit 3a82ac6
Showing
4 changed files
with
27 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/node_modules/stylelint/lib/standalone.js b/node_modules/stylelint/lib/standalone.js | ||
index 630af7e..dbf55e7 100644 | ||
--- a/node_modules/stylelint/lib/standalone.js | ||
+++ b/node_modules/stylelint/lib/standalone.js | ||
@@ -198,9 +198,9 @@ module.exports = function(options) { | ||
fileCache = new FileCache(cacheLocation); | ||
// Remove cache file if cache option is disabled | ||
fileCache.destroy(); | ||
- } | ||
+ } | ||
|
||
- return globby(fileList, globbyOptions) | ||
+ return Promise.resolve(fileList) | ||
.then((filePaths) => { | ||
// The ignorer filter needs to check paths relative to cwd | ||
filePaths = filterFilePaths( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters