Skip to content

Commit

Permalink
fix: isLocalConfigCheck fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas committed Jan 26, 2024
1 parent 5cff10e commit b8b947f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/command-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,5 @@ export function buildSwankyConfig() {

export function isLocalConfigCheck(): boolean {
const defaultLocalPath = process.cwd() + "/swanky.config.json";
return Boolean(process.env.SWANKY_CONFIG) ?? existsSync(defaultLocalPath);
return Boolean(process.env.SWANKY_CONFIG) || existsSync(defaultLocalPath);
}

0 comments on commit b8b947f

Please sign in to comment.