Fixed FS class logic, with full support for table fs structure. Terminal sucressfully initializes (havent checked the commands) ls broken.
This commit is contained in:
@@ -129,9 +129,9 @@ export class Bash {
|
||||
}
|
||||
}
|
||||
|
||||
private appendNewResult(path: string[], output: any, cmd: string) {
|
||||
private appendNewResult(workingDir: number, output: any, cmd: string) {
|
||||
const data: PrintData = {
|
||||
path: this.vfs.formatPath(this.vfs.pathArrayToString(path)),
|
||||
path: this.vfs.formatPath(this.vfs.getPathByInode(workingDir)),
|
||||
output: output,
|
||||
cmd: cmd
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user