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

Fix duplicate warning messages and missing SetOutput(). #216

Merged
merged 2 commits into from Mar 16, 2021
Merged

Conversation

Integralist
Copy link
Collaborator

Problem: we missed a call to SetOutput() which was causing a runtime panic + the warning message was being duplicated for each CLI 'Command' that was being initialised.

@Integralist Integralist added the bug Something isn't working label Mar 16, 2021
Copy link
Member

@kailan kailan left a comment

Choose a reason for hiding this comment

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

kailan@KB-Fastly not-real-cli-config % ../../fastly/cli/fastly compute build

WARNING: The fastly.toml was missing a `manifest_version` field. A default schema version of `1` will be used.
✓ Initializing...
✓ Verifying package manifest...
✓ Verifying local rust toolchain...
✓ Building package using rust toolchain...
✓ Creating package archive...

SUCCESS: Built rust package cli-config (pkg/cli-config.tar.gz)

All good!

@Integralist
Copy link
Collaborator Author

Screenshot 2021-03-16 at 12 51 32

@Integralist Integralist merged commit 8c4fe74 into master Mar 16, 2021
@Integralist Integralist deleted the hotfix2 branch March 16, 2021 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants