Add warning in case the versionFile isn't found

This commit is contained in:
IvanZosimov committed 2022-06-30 16:34:29 +02:00
1 parent d97b6edda3
commit 82eddc4023
2 files changed
+4

No files matched your search

+1
View File
@@ -65275,6 +65275,7 @@ function resolveVersionInput() {
throw new Error(`The specified python version file at: ${versionFile} does not exist.`);
}
if (fs_1.default.existsSync(defaultVersionFile)) {
core.warning(`The specified python version file at: ${versionFile} does not exist. Attempting to find ${defaultVersionFile} file.`);
versionFile = defaultVersionFile;
}
else {