Skip to content

Commit

Permalink
Parse *CAT drive letter correctly.
Browse files Browse the repository at this point in the history
Fix #62.
  • Loading branch information
tom-seddon committed Dec 6, 2020
1 parent 9f160a4 commit a792368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/dfsType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ class DFSState implements beebfs.IFSState {
let drive: string;
if (commandLine === undefined) {
drive = this.drive;
} else if (commandLine.length === 1 && utils.isdigit(commandLine)) {
} else if (DFSType.isValidDrive(commandLine)) {
drive = commandLine;
} else {
return undefined;
Expand Down

0 comments on commit a792368

Please sign in to comment.