Skip to content

Commit

Permalink
Fix destructuring undefined (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeauriach authored Aug 22, 2023
1 parent 198998d commit e716857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/actions/amplify.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports.getAmplifyURIs = async function getAmplifyURI() {
const amplifyUriRaw = core.getInput("amplify-uri");
if (!amplifyUriRaw) {
console.log("No input for amplify-uri");
return;
return {};
}
const amplifyUri = amplifyUriRaw.replace(/%/g, pullNumber);
if (amplifyUri.match(/^{/)) {
Expand Down

0 comments on commit e716857

Please sign in to comment.