File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2326,7 +2326,7 @@ proc getAlteredPath(options: Options): string =
23262326 paths.add folder
23272327 paths.reverse
23282328 let parentDir = options.nimBin.get.path.parentDir
2329- result = fmt " {paths.join(separator)}{separator}{parentDir}{separator}{getEnv(\" PATH\" )}"
2329+ result = fmt " {getAppDir()}{separator}{ paths.join(separator)}{separator}{parentDir}{separator}{getEnv(\" PATH\" )}"
23302330
23312331proc shellenv (options: var Options ) =
23322332 setVerbosity (SilentPriority )
Original file line number Diff line number Diff line change @@ -32,5 +32,5 @@ suite "Shell env":
3232 check prefix == " export PATH"
3333
3434
35- check dirs[0 ].extractFileName == " shellenv"
36- check dirs[1 ].extractFileName == " testutils-0.5.0-756d0757c4dd06a068f9d38c7f238576ba5ee897"
35+ check dirs[1 ].extractFileName == " shellenv"
36+ check dirs[2 ].extractFileName == " testutils-0.5.0-756d0757c4dd06a068f9d38c7f238576ba5ee897"
You can’t perform that action at this time.
0 commit comments