diff options
author | Canop <cano.petrole@gmail.com> | 2020-09-22 18:56:47 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-09-22 18:56:47 +0200 |
commit | 60b742fceda175bd1b357280535b27ba5e915d94 (patch) | |
tree | 30c48e578a42db9428b82effaead61be4ce87af1 /src/command | |
parent | 5edab5fd73ac38df12ff4ce7db21091f6bd8acbb (diff) |
refactor: move the invocation pattern from execution to verb
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/sequence.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/command/sequence.rs b/src/command/sequence.rs index a8d8fe0..7856abb 100644 --- a/src/command/sequence.rs +++ b/src/command/sequence.rs @@ -75,11 +75,9 @@ fn add_commands( let raw_parts = CommandParts::from(input.to_string()); let (pattern, verb_invocation) = raw_parts.split(); if let Some(pattern) = pattern { - debug!("adding pattern: {:?}", pattern); commands.push((input.to_string(), Command::from_parts(pattern, false))); } if let Some(verb_invocation) = verb_invocation { - debug!("adding verb_invocation: {:?}", verb_invocation); let command = Command::from_parts(verb_invocation, true); if let Command::VerbInvocate(invocation) = &command { // we check that the verb exists to avoid running a sequence |