Skip to content

Commit

Permalink
Merge pull request #323 from kaliber5/fix-empty-images
Browse files Browse the repository at this point in the history
Don't fail the build if images config is empty
  • Loading branch information
simonihmig committed Jul 26, 2021
2 parents f9b5ade + 13b72e9 commit 1a332c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ module.exports = {
this.addonOptions.images = [];
}

this.addonOptions.images = this.addonOptions.images.map((item) => {
this.addonOptions.images = (this.addonOptions.images || []).map((item) => {
this.validateConfigItem(item);
let extendedConfig = { ...defaultImageConfig, ...item };
// extendedConfig.rootURL = url;
Expand Down

0 comments on commit 1a332c4

Please sign in to comment.