1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-22 06:26:25 +00:00

Change deprecation comment to past tense (#723)

This commit is contained in:
Jeff Widman 2023-10-16 02:19:29 -07:00 committed by GitHub
parent f6cc428f53
commit 8635b1ccc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -70224,7 +70224,7 @@ function run() {
} }
else { else {
if (version.startsWith('2')) { if (version.startsWith('2')) {
core.warning('The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672'); core.warning('The support for python 2.7 was removed on June 19, 2023. Related issue: https://github.com/actions/setup-python/issues/672');
} }
const installed = yield finder.useCpythonVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases); const installed = yield finder.useCpythonVersion(version, arch, updateEnvironment, checkLatest, allowPreReleases);
pythonVersion = installed.version; pythonVersion = installed.version;

View file

@ -124,7 +124,7 @@ async function run() {
} else { } else {
if (version.startsWith('2')) { if (version.startsWith('2')) {
core.warning( core.warning(
'The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672' 'The support for python 2.7 was removed on June 19, 2023. Related issue: https://github.com/actions/setup-python/issues/672'
); );
} }
const installed = await finder.useCpythonVersion( const installed = await finder.useCpythonVersion(