mirror of
https://github.com/fluencelabs/marine.git
synced 2025-06-19 18:01:27 +00:00
Remove unsafe from import funcs (#75)
This commit is contained in:
@ -54,7 +54,7 @@ pub fn put(file_path: String) -> String {
|
||||
file_path,
|
||||
];
|
||||
|
||||
let ipfs_result = unsafe { ipfs(cmd) };
|
||||
let ipfs_result = ipfs(cmd);
|
||||
ipfs_result
|
||||
.into_std()
|
||||
.unwrap()
|
||||
@ -78,7 +78,7 @@ pub fn get(hash: String) -> String {
|
||||
hash,
|
||||
];
|
||||
|
||||
unsafe { ipfs(cmd) };
|
||||
ipfs(cmd);
|
||||
RESULT_FILE_PATH.to_string()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user