authorgravatar for 11367844+lino-levan@users.noreply.github.comLino Le Van <11367844+lino-levan@users.noreply.github.com> 2024-01-19 13:50:12-08:00
committergravatar for 11367844+lino-levan@users.noreply.github.comLino Le Van <11367844+lino-levan@users.noreply.github.com> 2024-01-19 13:50:12-08:00
log091dd237e9ee9de0d9e8f3b7a95ccbcffb618b68
treef6bdeb4fdd3006c579c1f1a1b453879276817c13
parenta97be7f59dd06a4f82c317e68006fcf36c5b8ff4

chore: ficksed


2 files changed, 9 insertions(+), 9 deletions(-)

crates/cli/src/main.rs+5-5
......@@ -89,7 +89,7 @@ fn main() -> Result<()> {
8989
9090 let rt = get_runtime(&target);
9191
92 let command = match rt.as_str() {
92 match rt.as_str() {
9393 "deno" => std::process::Command::new("deno")
9494 .arg("run")
9595 .arg("-A")
......@@ -106,11 +106,11 @@ fn main() -> Result<()> {
106106 .spawn()
107107 .expect("Failed to execute process"),
108108 _ => {
109 println!("Unknown runtime: {}", target);
109 panic!("Unknown runtime: {}", target);
110110 }
111 };
112
113 command.wait().unwrap();
111 }
112 .wait()
113 .unwrap();
114114 }
115115 }
116116
crates/util/src/lib.rs+4-4
......@@ -8,8 +8,8 @@ pub enum Operator {
88 Equals,
99 GreaterThan,
1010 LessThan,
11 GreaterThanOrEqual,
12 LessThanOrEqual,
11 GreaterThanOrEquals,
12 LessThanOrEquals,
1313}
1414
1515impl Operator {
......@@ -23,8 +23,8 @@ impl Operator {
2323 Self::Equals => "===",
2424 Self::GreaterThan => ">",
2525 Self::LessThan => "<",
26 Self::GreaterThanOrEqual => ">=",
27 Self::LessThanOrEqual => "<=",
26 Self::GreaterThanOrEquals => ">=",
27 Self::LessThanOrEquals => "<=",
2828 })
2929 }
3030}