Skip to content

Commit f649f7a

Browse files
committed
fix relative julia path
1 parent d6d358c commit f649f7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/misc/paths.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ export function expandHome (p) {
2424

2525
export function fullPath (p) {
2626
return new Promise((resolve, reject) => {
27-
if (fs.existsSync(p)) return resolve(p)
27+
if (fs.existsSync(p)) return resolve(fs.realpathSync(p))
2828
const current_dir = process.cwd()
2929
const exepath = path.dirname(process.execPath)
30+
3031
try {
3132
process.chdir(exepath)
3233
const realpath = fs.realpathSync(p)

0 commit comments

Comments
 (0)