| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,6 +8,7 @@ const stdin = require('get-stdin') | |||
| 8 | 8 | const read = require('read-cache') | |
| 9 | 9 | const chalk = require('chalk') | |
| 10 | 10 | const globber = require('globby') | |
| 11 | + const slash = require('slash') | ||
| 11 | 12 | const chokidar = require('chokidar') | |
| 12 | 13 | ||
| 13 | 14 | const postcss = require('postcss') | |
@@ -57,7 +58,7 @@ Promise.resolve() | |||
| 57 | 58 | } | |
| 58 | 59 | ||
| 59 | 60 | if (input && input.length) { | |
| 60 | - return globber(input, { dot: argv.includeDotfiles }) | ||
| 61 | + return globber(input.map(slash), { dot: argv.includeDotfiles }) | ||
| 61 | 62 | } | |
| 62 | 63 | ||
| 63 | 64 | if (argv.replace || argv.dir) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,6 +28,7 @@ | |||
| 28 | 28 | "postcss-reporter": "^7.0.0", | |
| 29 | 29 | "pretty-hrtime": "^1.0.3", | |
| 30 | 30 | "read-cache": "^1.0.0", | |
| 31 | + "slash": "^3.0.0", | ||
| 31 | 32 | "yargs": "^16.0.0" | |
| 32 | 33 | }, | |
| 33 | 34 | "devDependencies": { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments