Skip to content

Commit

Permalink
fixup: spaces for tabs in sui-pkg-mgmt lib (MystenLabs#17833)
Browse files Browse the repository at this point in the history
## Description 

In title

## Test plan 

N/A

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
  • Loading branch information
rvantonder authored May 20, 2024
1 parent 3af9fb4 commit 7a1fed3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/sui-package-management/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ pub async fn update_lock_file(

let (original_id, version, _) = get_new_package_obj_from_response(response).context(
"Expected a valid published package response but didn't see \
one when attempting to update the `Move.lock`.",
one when attempting to update the `Move.lock`.",
)?;
let Some(lock_file) = lock_file else {
bail!(
"Expected a `Move.lock` file to exist after publishing \
package, but none found. Consider running `sui move build` to \
generate the `Move.lock` file in the package directory."
package, but none found. Consider running `sui move build` to \
generate the `Move.lock` file in the package directory."
)
};
let install_dir = install_dir.unwrap_or(PathBuf::from("."));
let env = context.config.get_active_env().context(
"Could not resolve environment from active wallet context. \
Try ensure `sui client active-env` is valid.",
Try ensure `sui client active-env` is valid.",
)?;

let mut lock = LockFile::from(install_dir.clone(), &lock_file)?;
Expand Down

0 comments on commit 7a1fed3

Please sign in to comment.