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

check for existence of project for package operations #1080

Merged
merged 5 commits into from Nov 5, 2020

Conversation

mdrohmann
Copy link
Collaborator

@mdrohmann mdrohmann commented Nov 5, 2020

@@ -1574,3 +1574,5 @@ prepare_protocol_warning:
other: Could not add state protocol
confirm:
other: Please Confirm
package_operation_no_project:
other: Could not find a project. You can create a new project with [ACTIONABLE]state init[/RESET] or run this command from a directory that is in an existing project.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
other: Could not find a project. You can create a new project with [ACTIONABLE]state init[/RESET] or run this command from a directory that is in an existing project.
other: Could not find a project. You can create a new project with [ACTIONABLE]state init[/RESET] or run this command from a directory that is in an existing project. You can also mark a project as the default to use by running `[ACTIONABLE]state activate --default[/RESET]` inside your project directory.

@mdrohmann mdrohmann removed the request for review from MDrakos November 5, 2020 18:11
@mdrohmann
Copy link
Collaborator Author

@Naatan I just realized that the same problem occurs with state run. This seems to be a common mistake that we make. Is it okay if I review all our runners for this story and unify the error message for them?

@mdrohmann mdrohmann requested a review from Naatan November 5, 2020 19:20
@mdrohmann mdrohmann merged commit 36bae9f into master Nov 5, 2020
@mdrohmann mdrohmann deleted the martind/uninstall-panics-175600293 branch November 5, 2020 23:28
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