File tree 1 file changed +2
-2
lines changed
src/client/pythonEnvironments/base/info
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export type InterpreterInformation = {
26
26
* @param python - the path to the Python executable
27
27
* @param raw - the information returned by the `interpreterInfo.py` script
28
28
*/
29
- export function extractPythonEnvInfo ( python : string , raw : PythonEnvInfo ) : InterpreterInformation {
29
+ function extractInterpreterInfo ( python : string , raw : PythonEnvInfo ) : InterpreterInformation {
30
30
const rawVersion = `${ raw . versionInfo . slice ( 0 , 3 ) . join ( '.' ) } -${ raw . versionInfo [ 3 ] } ` ;
31
31
const version = parseVersion ( rawVersion ) ;
32
32
version . sysVersion = raw . sysVersion ;
@@ -89,5 +89,5 @@ export async function getInterpreterInfo(
89
89
if ( logger ) {
90
90
logger . info ( `Found interpreter for ${ argv } ` ) ;
91
91
}
92
- return extractPythonEnvInfo ( python . pythonExecutable , json ) ;
92
+ return extractInterpreterInfo ( python . pythonExecutable , json ) ;
93
93
}
You can’t perform that action at this time.
0 commit comments