Skip to content

Commit 49b6359

Browse files
Akash ThotaAkash Thota
authored andcommitted
cargo clippy
1 parent a45c848 commit 49b6359

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cli/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3964,12 +3964,11 @@ fn migrate(cfg_override: &ConfigOverride) -> Result<()> {
39643964
.map_err(|e| anyhow::format_err!("{}", e.to_string()))
39653965
};
39663966

3967-
let result = if has_tsx {
3967+
if has_tsx {
39683968
run_ts_command("tsx")?
39693969
} else {
39703970
run_ts_command("ts-node")?
3971-
};
3972-
result
3971+
}
39733972
} else {
39743973
let deploy_js = deploy_ts.with_extension("js");
39753974
let module_path = migrations_dir.join(&deploy_js);

0 commit comments

Comments
 (0)