FEAT: logging when readme will be changed
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4f747c5b79
commit
6486356b6a
|
@ -56,7 +56,10 @@ for (const forwardData of parsedData) {
|
|||
continue;
|
||||
}
|
||||
const recipient = forward.createRecipient(recipientData.url, recipientData.humanName);
|
||||
if (recipient.hasOwnProperty("modifyReadme")) recipient.insertToReadme = !!recipientData.modifyReadme;
|
||||
if (recipient.hasOwnProperty("modifyReadme")) {
|
||||
recipient.insertToReadme = !!recipientData.modifyReadme;
|
||||
console.log("Readme will be modified on recipient: " + recipient.humanName||recipient.url);
|
||||
}
|
||||
if (!recipientData.hasOwnProperty("authors")) {
|
||||
console.error("No authors provided for recipient: " + recipient.humanName||recipient.url);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue