Skip to content

Commit bc42f43

Browse files
aichbauerJPeer264
authored andcommitted
🐛 Fix: remove ! from first if stmt
1 parent d03dca4 commit bc42f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/getConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const getConfig = (altPath) => {
77
const pathString = altPath || path.join(cwd, '.sgcrc');
88
let configObject = json.readToObjSync(pathString);
99

10-
if (!configObject) {
10+
if (configObject) {
1111
// package.json .rcs if no other config is found
1212
configObject = json.readToObjSync(path.join(cwd, 'package.json')).sgc;
1313
}

0 commit comments

Comments
 (0)