Skip to content

Commit 3e02b0f

Browse files
authored
use exists (#400)
1 parent 585fb5d commit 3e02b0f

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

ci/check_cargo_versions_match.roc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ main! = |_args|
2626
ci_cargo_path = "ci/rust_http_server/Cargo.toml"
2727

2828
# Check if both files exist
29-
root_exists = File.is_file!(root_cargo_path)?
30-
ci_exists = File.is_file!(ci_cargo_path)?
29+
root_exists = File.exists!(root_cargo_path)?
30+
ci_exists = File.exists!(ci_cargo_path)?
3131

3232
if !root_exists then
3333
err_exit("${root_cargo_path} not found in ${Path.display(cwd)}.")

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)