diff --git a/package.json b/package.json index b466a52..382be78 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "dependency-graph": "^0.8.0", "fs-extra": "^8.1.0", "get-stdin": "^7.0.0", - "globby": "^9.0.0", + "globby": "^10.0.1", "postcss": "^7.0.0", "postcss-load-config": "^2.0.0", "postcss-reporter": "^6.0.0", diff --git a/test/replace.js b/test/replace.js index 446749d..2f99f3b 100644 --- a/test/replace.js +++ b/test/replace.js @@ -17,9 +17,8 @@ test('--replace works', async t => { fs.copy('test/fixtures/a.css', path.join(dir, 'a.css')) ]) - // XXX: Should be able to pass output instead of dir here, but this test env is weird const { error, stderr } = await cli([ - dir, + output.replace(/\\/g, '/'), // gotta keep globby happy on Windows '--replace', '-u', 'postcss-import',