Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(BREAKING): move file system functionality out of lockfile crate #22

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Mar 14, 2024

We should leave fs operations up to the caller so that they don't accidentally use methods that interact with the real file system instead of a virtual file system for example (ex. deno compile).

This will also help use reuse the "atomic write" functionality in the CLI.

err.to_string(),
"Unable to read lockfile. Lockfile was empty."
);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Also added this as part of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants