Skip to content

Commit

Permalink
Merge pull request #14 from Yummygum/fix/hm-size-m-flag
Browse files Browse the repository at this point in the history
Fix HM size M flag svg
  • Loading branch information
Donovan Roubos authored Jan 15, 2021
2 parents 1c3e553 + 935c7a7 commit 42f907e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ var HK = {
var l$1B = require("./flags/bIAwCKeU.svg");

/* loaded by smart-asset */
var m$1B = require("./flags/eKNAvFJL.svg");
var m$1B = require("./flags/fwMZpOdl.svg");

/* loaded by smart-asset */
var s$1B = require("./flags/eHFWndcP.svg");
Expand Down Expand Up @@ -4145,7 +4145,7 @@ function isoToCountryCode(isoCode) {
return alpha2Code;
}

console.error('This code returns undefined, see www.flagpack.xyz/docs/flag-index for all the available codes.');
throw new Error('This code returns undefined, see https://www.flagpack.xyz/docs/flag-index for all the available codes.');
}

function imageUrl(assetCode, size) {
Expand All @@ -4154,7 +4154,7 @@ function imageUrl(assetCode, size) {
try {
return flags[formatAssetCode][size];
} catch (_unused) {
console.error('No flag found for ' + assetCode + ' / size ' + size);
throw new Error("No flag found for ".concat(assetCode, " / size ").concat(size));
}
}

Expand Down
31 changes: 31 additions & 0 deletions dist/flags/fwMZpOdl.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion svg/m/HM.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 42f907e

Please sign in to comment.