Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
Merge pull request #18 from jbhoosreddy/defaultConfig-fix
Browse files Browse the repository at this point in the history
fix: Pass defaultConfig if no config found
  • Loading branch information
hiimbex authored Sep 4, 2018
2 parents 7b01411 + ee08c3b commit 2a58af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async function getConfig(context, fileName, defaultConfig) {
const baseParams = getBaseParams(params, baseRepo);
const baseConfig = await loadYaml(context, baseParams);

if (config == null && baseConfig == null) {
if (config == null && baseConfig == null && !defaultConfig) {
return null;
}

Expand Down

0 comments on commit 2a58af4

Please sign in to comment.