Rewrote some navigation stuff based on new parser

This commit is contained in:
Zef Hemel
2022-04-03 18:42:12 +02:00
parent 16bf0d866d
commit 07453d638b
21 changed files with 206 additions and 235 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
import { promisify } from "util";
import { execFile } from "child_process";
import type { SysCallMapping } from "../system";
import {promisify} from "util";
import {execFile} from "child_process";
import type {SysCallMapping} from "../system";
const execFilePromise = promisify(execFile);
export default function (cwd: string): SysCallMapping {
return {
run: async (
"shell.run": async (
ctx,
cmd: string,
args: string[]