| author | |
| committer | |
| log | 091dd237e9ee9de0d9e8f3b7a95ccbcffb618b68 |
| tree | f6bdeb4fdd3006c579c1f1a1b453879276817c13 |
| parent | a97be7f59dd06a4f82c317e68006fcf36c5b8ff4 |
2 files changed, 9 insertions(+), 9 deletions(-)
crates/cli/src/main.rs+5-5| ... | @@ -89,7 +89,7 @@ fn main() -> Result<()> { | ... | @@ -89,7 +89,7 @@ fn main() -> Result<()> { |
| 89 | 89 | ||
| 90 | let rt = get_runtime(&target); | 90 | let rt = get_runtime(&target); |
| 91 | 91 | ||
| 92 | let command = match rt.as_str() { | 92 | match rt.as_str() { |
| 93 | "deno" => std::process::Command::new("deno") | 93 | "deno" => std::process::Command::new("deno") |
| 94 | .arg("run") | 94 | .arg("run") |
| 95 | .arg("-A") | 95 | .arg("-A") |
| ... | @@ -106,11 +106,11 @@ fn main() -> Result<()> { | ... | @@ -106,11 +106,11 @@ fn main() -> Result<()> { |
| 106 | .spawn() | 106 | .spawn() |
| 107 | .expect("Failed to execute process"), | 107 | .expect("Failed to execute process"), |
| 108 | _ => { | 108 | _ => { |
| 109 | println!("Unknown runtime: {}", target); | 109 | panic!("Unknown runtime: {}", target); |
| 110 | } | 110 | } |
| 111 | }; | 111 | } |
| 112 | 112 | .wait() | |
| 113 | command.wait().unwrap(); | 113 | .unwrap(); |
| 114 | } | 114 | } |
| 115 | } | 115 | } |
| 116 | 116 |
crates/util/src/lib.rs+4-4| ... | @@ -8,8 +8,8 @@ pub enum Operator { | ... | @@ -8,8 +8,8 @@ pub enum Operator { |
| 8 | Equals, | 8 | Equals, |
| 9 | GreaterThan, | 9 | GreaterThan, |
| 10 | LessThan, | 10 | LessThan, |
| 11 | GreaterThanOrEqual, | 11 | GreaterThanOrEquals, |
| 12 | LessThanOrEqual, | 12 | LessThanOrEquals, |
| 13 | } | 13 | } |
| 14 | 14 | ||
| 15 | impl Operator { | 15 | impl Operator { |
| ... | @@ -23,8 +23,8 @@ impl Operator { | ... | @@ -23,8 +23,8 @@ impl Operator { |
| 23 | Self::Equals => "===", | 23 | Self::Equals => "===", |
| 24 | Self::GreaterThan => ">", | 24 | Self::GreaterThan => ">", |
| 25 | Self::LessThan => "<", | 25 | Self::LessThan => "<", |
| 26 | Self::GreaterThanOrEqual => ">=", | 26 | Self::GreaterThanOrEquals => ">=", |
| 27 | Self::LessThanOrEqual => "<=", | 27 | Self::LessThanOrEquals => "<=", |
| 28 | }) | 28 | }) |
| 29 | } | 29 | } |
| 30 | } | 30 | } |