File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65263,7 +65263,7 @@ function resolveVersionInput() {
65263
65263
let version = core.getInput('python-version');
65264
65264
let versionFile = core.getInput('python-version-file');
65265
65265
if (version && versionFile) {
65266
- core.warning('Both python-version and python-version-file inputs are specified, only python-version will be used');
65266
+ core.warning('Both python-version and python-version-file inputs are specified, only python-version will be used. ');
65267
65267
}
65268
65268
if (version) {
65269
65269
return version;
@@ -65278,14 +65278,14 @@ function resolveVersionInput() {
65278
65278
versionFile = defaultVersionFile;
65279
65279
}
65280
65280
else {
65281
- throw new Error(`The specified python version file at: ${versionFile} does not exist and default ${defaultVersionFile} file isn't found`);
65281
+ throw new Error(`The specified python version file at: ${versionFile} does not exist and default ${defaultVersionFile} file isn't found. `);
65282
65282
}
65283
65283
}
65284
65284
version = fs_1.default.readFileSync(versionFile, 'utf8');
65285
65285
core.info(`Resolved ${versionFile} as ${version}`);
65286
65286
return version;
65287
65287
}
65288
- core.warning("Neither 'python-version' nor 'python-version-file' inputs were supplied. ");
65288
+ core.warning("Neither 'python-version' nor 'python-version-file' inputs were supplied.");
65289
65289
return version;
65290
65290
}
65291
65291
function run() {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function resolveVersionInput(): string {
28
28
29
29
if ( version && versionFile ) {
30
30
core . warning (
31
- 'Both python-version and python-version-file inputs are specified, only python-version will be used'
31
+ 'Both python-version and python-version-file inputs are specified, only python-version will be used. '
32
32
) ;
33
33
}
34
34
@@ -50,7 +50,7 @@ function resolveVersionInput(): string {
50
50
versionFile = defaultVersionFile ;
51
51
} else {
52
52
throw new Error (
53
- `The specified python version file at: ${ versionFile } does not exist and default ${ defaultVersionFile } file isn't found`
53
+ `The specified python version file at: ${ versionFile } does not exist and default ${ defaultVersionFile } file isn't found. `
54
54
) ;
55
55
}
56
56
}
@@ -62,7 +62,7 @@ function resolveVersionInput(): string {
62
62
}
63
63
64
64
core . warning (
65
- "Neither 'python-version' nor 'python-version-file' inputs were supplied. "
65
+ "Neither 'python-version' nor 'python-version-file' inputs were supplied."
66
66
) ;
67
67
68
68
return version ;
You can’t perform that action at this time.
0 commit comments