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

Trace command errors for package manifest change #670

Merged
merged 3 commits into from
Nov 1, 2022
Merged

Trace command errors for package manifest change #670

merged 3 commits into from
Nov 1, 2022

Conversation

skitterm
Copy link
Member

In #648 we started looking within package manifest files and only bailing from TurboSnap if the change was dependency-related. However the trace command was failing because we were looking for info that didn't exist.

Now we throw an error if a person attempts to trace a package.json file, since we'd need to know the file contents (and not just the file path) to know if that file would cause changes to story files.

New error message:
Screen Shot 2022-10-31 at 4 38 24 PM

@skitterm skitterm requested a review from tmeasday October 31, 2022 23:42
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

LGTM! Small suggestion for improvement

@skitterm skitterm changed the title Trace accounts for package manifest change Trace command errors for package manifest change Oct 31, 2022
@skitterm skitterm merged commit 2b679d5 into main Nov 1, 2022
@skitterm skitterm deleted the traced branch November 1, 2022 00:01
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