Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
robiot committed Dec 15, 2021
1 parent fa8eb62 commit 1dafd96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2018"
license = "GPL-3.0"
name = "zash"
repository = "https://github.com/robiot/zash"
version = "0.3.0"
version = "0.3.1"

[dependencies]
colored = "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn parse_cmd(token: String, status: i32) -> Result<Vec<(tokens::ParseCmdToke
let mut is_definition: bool = false;
// Todo: part should give boolean if escaped/quoted or not, for wildcards, variables and ~
for part in lexer::cmd_to_tokens(&token)?.iter().peekable() {
println!("{:?}", part);
// println!("{:?}", part);
before_token = match part.0 {
tokens::CmdTokens::Pipe => {
if before_token.is_none() || before_token == Some(tokens::CmdTokens::Pipe) {
Expand Down

0 comments on commit 1dafd96

Please sign in to comment.