Skip to content

Commit 63d86d1

Browse files
Merge 1788d19 into 3b6b176
2 parents 3b6b176 + 1788d19 commit 63d86d1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ Promise.resolve()
125125
function rc(ctx, path) {
126126
if (argv.use) return Promise.resolve(cliConfig)
127127

128-
// Set argv: false to keep cosmiconfig from attempting to read the --config
129-
// flag from process.argv
130-
return postcssrc(ctx, path, { argv: false })
128+
return postcssrc(ctx, path)
131129
.then(rc => {
132130
if (rc.options.from || rc.options.to) {
133131
error(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"get-stdin": "^6.0.0",
2626
"globby": "^8.0.0",
2727
"postcss": "^7.0.0",
28-
"postcss-load-config": "^1.1.0",
28+
"postcss-load-config": "^2.0.0",
2929
"postcss-reporter": "^5.0.0",
3030
"pretty-hrtime": "^1.0.3",
3131
"read-cache": "^1.0.0",

0 commit comments

Comments
 (0)