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

Appearance settings

Commit d97b6ed

Browse filesBrowse files
author
IvanZosimov
committed
Fix typos
1 parent a6b01c4 commit d97b6ed
Copy full SHA for d97b6ed

File tree

Expand file treeCollapse file tree

2 files changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-6
lines changed

‎dist/setup/index.js

Copy file name to clipboardExpand all lines: dist/setup/index.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65263,7 +65263,7 @@ function resolveVersionInput() {
6526365263
let version = core.getInput('python-version');
6526465264
let versionFile = core.getInput('python-version-file');
6526565265
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.');
6526765267
}
6526865268
if (version) {
6526965269
return version;
@@ -65278,14 +65278,14 @@ function resolveVersionInput() {
6527865278
versionFile = defaultVersionFile;
6527965279
}
6528065280
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.`);
6528265282
}
6528365283
}
6528465284
version = fs_1.default.readFileSync(versionFile, 'utf8');
6528565285
core.info(`Resolved ${versionFile} as ${version}`);
6528665286
return version;
6528765287
}
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.");
6528965289
return version;
6529065290
}
6529165291
function run() {

‎src/setup-python.ts

Copy file name to clipboardExpand all lines: src/setup-python.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function resolveVersionInput(): string {
2828

2929
if (version && versionFile) {
3030
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.'
3232
);
3333
}
3434

@@ -50,7 +50,7 @@ function resolveVersionInput(): string {
5050
versionFile = defaultVersionFile;
5151
} else {
5252
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.`
5454
);
5555
}
5656
}
@@ -62,7 +62,7 @@ function resolveVersionInput(): string {
6262
}
6363

6464
core.warning(
65-
"Neither 'python-version' nor 'python-version-file' inputs were supplied. "
65+
"Neither 'python-version' nor 'python-version-file' inputs were supplied."
6666
);
6767

6868
return version;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.