File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11import * as vscode from "vscode" ;
2+ import * as os from "os" ;
3+ import * as path from "path" ;
24import { isDefined } from "./helpers.ts" ;
35import { isPortAvailable , findAvailablePort } from "./portUtils.ts" ;
46import { getExecutableName , isWindows } from "./platformUtils.ts" ;
260262 env : {
261263 CODE : juliaScript ,
262264 VSCODE_PLUTO_AUTH_FILE : authOutputUri . fsPath ,
263- JULIA_DEPOT_PATH : "~/ .julia",
265+ JULIA_DEPOT_PATH : path . join ( os . homedir ( ) , " .julia") ,
264266 } ,
265267 }
266268 ) ;
352354 // Build environment variables
353355 const env : { [ key : string ] : string } = {
354356 JULIA_PLUTO_VSCODE_WORKSPACE : workspacePath ,
355- JULIA_DEPOT_PATH : "~/ .julia",
357+ JULIA_DEPOT_PATH : path . join ( os . homedir ( ) , " .julia") ,
356358 JULIA_LOAD_PATH : isWindows ( ) ? ";" : ":" ,
357359 } ;
358360 if ( packageServer ) {
You can’t perform that action at this time.
0 commit comments