Skip to content

Commit

Permalink
Merge pull request #847 from tonlabs/check-out-path
Browse files Browse the repository at this point in the history
Do not panic on bad output path
  • Loading branch information
IgorKoval authored Mar 6, 2023
2 parents e7f756d + 5d55262 commit 5171e98
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
96 changes: 48 additions & 48 deletions 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 @@ -9,7 +9,7 @@ license-file = 'LICENSE.md'
name = 'tvm_linker'
readme = 'README.md'
repository = 'https://github.com/tonlabs/TVM-linker'
version = '0.19.4'
version = '0.19.5'

[[bin]]
name = 'tvm_linker'
Expand Down
2 changes: 1 addition & 1 deletion src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ pub fn save_to_file(state: StateInit, name: Option<&str>, wc: i8, silent: bool)
format!("{:x}.tvc", address)
};

let mut file = File::create(&file_name).unwrap();
let mut file = File::create(&file_name)?;
file.write_all(&buffer)?;

if print_filename {
Expand Down

0 comments on commit 5171e98

Please sign in to comment.