Skip to content

Commit

Permalink
Added cd and cwd to globalThis
Browse files Browse the repository at this point in the history
Updated core
  • Loading branch information
james-pre committed Nov 16, 2024
1 parent bd8527a commit b150be0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/xterm": "^5.5.0",
"@zenfs/core": "^1.3.0",
"@zenfs/core": "^1.3.2",
"@zenfs/dom": "^1.0.4",
"@zenfs/iso": "^0.3.3",
"@zenfs/zip": "^0.5.2",
Expand Down
2 changes: 1 addition & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ export function alert(text: string): Promise<void> {
return promise;
}

Object.assign(globalThis, { openPath, switchTab, confirm });
Object.assign(globalThis, { openPath, switchTab, confirm, cd, cwd });

0 comments on commit b150be0

Please sign in to comment.