Commit 328b0e0 1 parent fc11d27 commit 328b0e0 Copy full SHA for 328b0e0
File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -120,17 +120,14 @@ function hasPythonEnv(basePath) {
120
120
if ( subPath . startsWith ( "Emme" ) ) {
121
121
const emmeVersionFolder = path . join ( basePath , subPath ) ;
122
122
const emmeVersionFolderContents = fs . readdirSync ( emmeVersionFolder ) ;
123
-
124
- console . log ( emmeVersionFolderPathFiles ) ;
125
- console . log ( emmeVersionFolderContents ) ;
126
-
127
123
emmeVersionFolderContents . forEach ( emmeFolderPath => {
128
124
if ( emmeFolderPath . startsWith ( "Python" ) ) {
129
125
const pythonFolderPath = path . join ( emmeVersionFolder , emmeFolderPath ) ;
130
126
const pythonPathFiles = fs . readdirSync ( pythonFolderPath ) ;
131
127
pythonPathFiles . forEach ( fileName => {
132
128
if ( fileName === 'python.exe' ) {
133
- exePaths . push ( path . join ( pythonFolderPath , fileName ) ) ;
129
+ const pythonExecutablePath = path . join ( pythonFolderPath , fileName ) ;
130
+ exePaths . push ( pythonExecutablePath ) ;
134
131
}
135
132
} )
136
133
}
@@ -140,6 +137,7 @@ function hasPythonEnv(basePath) {
140
137
}
141
138
catch ( e ) {
142
139
console . log ( `Error traversing path ${ basePath } ` ) ;
140
+ console . log ( e ) ;
143
141
}
144
142
}
145
143
return exePaths ;
You can’t perform that action at this time.
0 commit comments