mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-19 18:25:58 +08:00
style: update info
This commit is contained in:
8
dist/index.js
vendored
8
dist/index.js
vendored
@@ -14672,7 +14672,7 @@ function doQueryIssues(state, creator, ignoreLabels) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
core.info(`[doQueryIssues] issueNumbers is [${JSON.stringify(issueNumbers)}]`);
|
core.info(`[doQueryIssues] issueNumbers is ---> ${JSON.stringify(issueNumbers)}`);
|
||||||
return issues;
|
return issues;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -14938,7 +14938,7 @@ function doMarkDuplicate(comment, labels, emoji) {
|
|||||||
core.info(`[doMarkDuplicate] Done!`);
|
core.info(`[doMarkDuplicate] Done!`);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
core.warning(`This comment body should start whith 'duplicate-command' or 'Duplicate of' and not include '?'`);
|
core.warning(`This comment body should start with 'duplicate-command' or 'Duplicate of' and not include '?'`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -15269,8 +15269,7 @@ class IssueHelperEngine {
|
|||||||
this.issueNumber = +issueNumber;
|
this.issueNumber = +issueNumber;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
core.setFailed(`issue-number is missing!`);
|
core.warning(`'issue-number' is missing or this action not needed yet!`);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
this.emoji = core.getInput('emoji') || '';
|
this.emoji = core.getInput('emoji') || '';
|
||||||
this.labels = (0, actions_util_1.dealStringToArr)(core.getInput('labels') || '');
|
this.labels = (0, actions_util_1.dealStringToArr)(core.getInput('labels') || '');
|
||||||
@@ -15435,6 +15434,7 @@ class IssueHelperEngine {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// -[ Advanced End ]->
|
||||||
default: {
|
default: {
|
||||||
core.warning(`The ${action} is not allowed.`);
|
core.warning(`The ${action} is not allowed.`);
|
||||||
break;
|
break;
|
||||||
|
@@ -91,7 +91,7 @@ export async function doQueryIssues(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
core.info(`[doQueryIssues] issueNumbers is [${JSON.stringify(issueNumbers)}]`);
|
core.info(`[doQueryIssues] issueNumbers is ---> ${JSON.stringify(issueNumbers)}`);
|
||||||
return issues;
|
return issues;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -349,7 +349,7 @@ export async function doMarkDuplicate(
|
|||||||
core.info(`[doMarkDuplicate] Done!`);
|
core.info(`[doMarkDuplicate] Done!`);
|
||||||
} else {
|
} else {
|
||||||
core.warning(
|
core.warning(
|
||||||
`This comment body should start whith 'duplicate-command' or 'Duplicate of' and not include '?'`,
|
`This comment body should start with 'duplicate-command' or 'Duplicate of' and not include '?'`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -78,8 +78,7 @@ export class IssueHelperEngine implements IIssueHelperEngine {
|
|||||||
if (issueNumber) {
|
if (issueNumber) {
|
||||||
this.issueNumber = +issueNumber;
|
this.issueNumber = +issueNumber;
|
||||||
} else {
|
} else {
|
||||||
core.setFailed(`issue-number is missing!`);
|
core.warning(`'issue-number' is missing or this action not needed yet!`);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.emoji = core.getInput('emoji') || '';
|
this.emoji = core.getInput('emoji') || '';
|
||||||
@@ -242,6 +241,7 @@ export class IssueHelperEngine implements IIssueHelperEngine {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// -[ Advanced End ]->
|
||||||
default: {
|
default: {
|
||||||
core.warning(`The ${action} is not allowed.`);
|
core.warning(`The ${action} is not allowed.`);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user