Skip to content

Commit f2a6860

Browse files
committed
bugfix-319-setup-crash-on-repository-with-no-issues: compiled
1 parent bc00959 commit f2a6860

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build/cli/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48180,7 +48180,7 @@ class Execution {
4818048180
this.labels.currentIssueLabels = await issueRepository.getLabels(this.owner, this.repo, this.issueNumber, this.tokens.token);
4818148181
}
4818248182
catch (error) {
48183-
const isInitialSetup = this.singleAction.currentSingleAction === 'initial_setup';
48183+
const isInitialSetup = this.singleAction.currentSingleAction === constants_1.ACTIONS.INITIAL_SETUP;
4818448184
if (this.isSingleAction && isInitialSetup) {
4818548185
(0, logger_1.logDebugInfo)('Skipping initial labels fetch for setup action.');
4818648186
this.labels.currentIssueLabels = [];

build/github_action/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43279,7 +43279,7 @@ class Execution {
4327943279
this.labels.currentIssueLabels = await issueRepository.getLabels(this.owner, this.repo, this.issueNumber, this.tokens.token);
4328043280
}
4328143281
catch (error) {
43282-
const isInitialSetup = this.singleAction.currentSingleAction === 'initial_setup';
43282+
const isInitialSetup = this.singleAction.currentSingleAction === constants_1.ACTIONS.INITIAL_SETUP;
4328343283
if (this.isSingleAction && isInitialSetup) {
4328443284
(0, logger_1.logDebugInfo)('Skipping initial labels fetch for setup action.');
4328543285
this.labels.currentIssueLabels = [];

0 commit comments

Comments
 (0)