Fix lint check failure

This commit is contained in:
Priyagupta108
2025-11-13 14:35:53 +05:30
parent 817b41f3ad
commit 3f1377f6e1
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View File

@ -97919,7 +97919,7 @@ async function installPipPackages(pipInstall) {
await (0, exec_1.exec)('python', ['-m', 'pip', 'install', ...installArgs]); await (0, exec_1.exec)('python', ['-m', 'pip', 'install', ...installArgs]);
core.info('Successfully installed pip packages'); core.info('Successfully installed pip packages');
} }
catch (error) { catch {
core.setFailed(`Failed to install pip packages from "${pipInstall}". Please verify that the package names, versions, or requirements files provided are correct and installable, that the specified packages and versions can be resolved from PyPI or the configured package index, and that your network connection is stable and allows access to the package index.`); core.setFailed(`Failed to install pip packages from "${pipInstall}". Please verify that the package names, versions, or requirements files provided are correct and installable, that the specified packages and versions can be resolved from PyPI or the configured package index, and that your network connection is stable and allows access to the package index.`);
} }
} }

View File

@ -29,7 +29,7 @@ async function installPipPackages(pipInstall: string) {
const installArgs = pipInstall.trim().split(/\s+/); const installArgs = pipInstall.trim().split(/\s+/);
await exec('python', ['-m', 'pip', 'install', ...installArgs]); await exec('python', ['-m', 'pip', 'install', ...installArgs]);
core.info('Successfully installed pip packages'); core.info('Successfully installed pip packages');
} catch (error) { } catch {
core.setFailed( core.setFailed(
`Failed to install pip packages from "${pipInstall}". Please verify that the package names, versions, or requirements files provided are correct and installable, that the specified packages and versions can be resolved from PyPI or the configured package index, and that your network connection is stable and allows access to the package index.` `Failed to install pip packages from "${pipInstall}". Please verify that the package names, versions, or requirements files provided are correct and installable, that the specified packages and versions can be resolved from PyPI or the configured package index, and that your network connection is stable and allows access to the package index.`
); );