We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd801b commit 051e9e0Copy full SHA for 051e9e0
utils/build.ps1
@@ -1031,7 +1031,7 @@ function Get-Dependencies {
1031
}
1032
1033
1034
- function Is-Python-Module-Installed([string] $ModuleName) {
+ function Test-PythonModuleInstalled([string] $ModuleName) {
1035
try {
1036
Invoke-Program -Silent "$(Get-PythonExecutable)" -c "import $ModuleName"
1037
return $true;
@@ -1048,7 +1048,7 @@ function Get-Dependencies {
1048
1049
1050
function Install-PythonModule([string] $ModuleName) {
1051
- if (Is-Python-Module-Installed $ModuleName) {
+ if (Test-PythonModuleInstalled $ModuleName) {
1052
Write-Output "$ModuleName already installed."
1053
return;
1054
0 commit comments