Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

[4/x][move-package/lock] Fix error message from parse_package_manifest #754

Merged
merged 2 commits into from
Jan 18, 2023

Conversation

amnn
Copy link
Collaborator

@amnn amnn commented Dec 16, 2022

Fix the order in which the directory and Move.toml are joined together (should be directory and then Move.toml, not the other way around as it previously was), and don't drop the context of the underlying error.

Also restructuring the function slightly to be less deeply nested, by using ?.

Test Plan

move/language/tools/move-package$ cargo nextest

Stack

Copy link
Member

@tnowacki tnowacki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4/x looks good!

amnn added 2 commits January 18, 2023 13:48
Fix the order in which the directory and `Move.toml` are joined
together (should be directory and then `Move.toml`, not the other way
around as it previously was), and don't drop the context of the
underlying error.

Also restructuring the function slightly to be less deeply nested, by
using `?`.

Test Plan:

```
move/language/tools/move-package$ cargo nextest
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants