File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const stdin = require('get-stdin')
88const read = require ( 'read-cache' )
99const chalk = require ( 'chalk' )
1010const globber = require ( 'globby' )
11+ const slash = require ( 'slash' )
1112const chokidar = require ( 'chokidar' )
1213
1314const postcss = require ( 'postcss' )
@@ -57,7 +58,7 @@ Promise.resolve()
5758 }
5859
5960 if ( input && input . length ) {
60- return globber ( input , { dot : argv . includeDotfiles } )
61+ return globber ( input . map ( slash ) , { dot : argv . includeDotfiles } )
6162 }
6263
6364 if ( argv . replace || argv . dir ) {
Original file line number Diff line number Diff line change 2828 "postcss-reporter" : " ^7.0.0" ,
2929 "pretty-hrtime" : " ^1.0.3" ,
3030 "read-cache" : " ^1.0.0" ,
31+ "slash" : " ^3.0.0" ,
3132 "yargs" : " ^16.0.0"
3233 },
3334 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments