Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita68d47b

Browse files
authored
Merge pull request#3050 from github/henrymercer/init-not-called-config-error
Make "init not called" a configuration error
2 parents6dee5bc +e496ff9 commita68d47b

9 files changed

+11
-9
lines changed

‎lib/analyze-action.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎lib/analyze-action.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎lib/autobuild-action.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎lib/autobuild-action.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎lib/resolve-environment-action.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎lib/resolve-environment-action.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎src/analyze-action.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ async function run() {
225225

226226
config=awaitgetConfig(actionsUtil.getTemporaryDirectory(),logger);
227227
if(config===undefined){
228-
thrownewError(
228+
thrownewutil.ConfigurationError(
229229
"Config file could not be found at expected location. Has the 'init' action been called?",
230230
);
231231
}

‎src/autobuild-action.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import {
2424
checkActionVersion,
2525
checkDiskUsage,
2626
checkGitHubVersionInRange,
27+
ConfigurationError,
2728
getErrorMessage,
2829
initializeEnvironment,
2930
wrapError,
@@ -92,7 +93,7 @@ async function run() {
9293

9394
config=awaitgetConfig(getTemporaryDirectory(),logger);
9495
if(config===undefined){
95-
thrownewError(
96+
thrownewConfigurationError(
9697
"Config file could not be found at expected location. Has the 'init' action been called?",
9798
);
9899
}

‎src/resolve-environment-action.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
checkDiskUsage,
2323
checkForTimeout,
2424
checkGitHubVersionInRange,
25+
ConfigurationError,
2526
getErrorMessage,
2627
wrapError,
2728
}from"./util";
@@ -53,7 +54,7 @@ async function run() {
5354

5455
config=awaitgetConfig(getTemporaryDirectory(),logger);
5556
if(config===undefined){
56-
thrownewError(
57+
thrownewConfigurationError(
5758
"Config file could not be found at expected location. Has the 'init' action been called?",
5859
);
5960
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp