Skip to content

Commit eb22a84

Browse files
committed
bugfix potential undefined
1 parent 1f5678b commit eb22a84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/b2c-tooling-sdk/src/config/resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export class ConfigResolver {
166166
// Earlier sources have higher priority - later sources only fill in missing values
167167
for (const source of this.sources) {
168168
const result = source.load(enrichedOptions);
169-
if (result) {
169+
if (result && result.config) {
170170
const {config: sourceConfig, location} = result;
171171
const fields = getPopulatedFields(sourceConfig);
172172
if (fields.length > 0) {

0 commit comments

Comments
 (0)