mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 19:34:04 +00:00
refactor: unneeded extra check
This commit is contained in:
parent
52ea324129
commit
673fb8f8dd
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ export class MainTerminal extends InteractiveTerminal {
|
|||
// Check if the command is allowed
|
||||
const cmdParts = input.split(" ");
|
||||
const executable = cmdParts[0].trim();
|
||||
const knownOperators = ["&&", "||", "&", ";"];
|
||||
const knownOperators = ["||", "&", ";"];
|
||||
log.debug("console", "Executable: " + executable);
|
||||
log.debug("console", "Executable length: " + executable.length);
|
||||
|
||||
|
|
Loading…
Reference in a new issue