Running server info on non-server folder creates empty server details

Description

The method in the server service to get a server's info will write empty info if it doesn't exist. This has unintended side-affect of creating empty server details when you run a command such as "server info" in a folder that's never been a server. Don't write the server details to the internal servers.json file unless it actually needs to be saved.

Gliffy Diagrams

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Fix versions

Priority

Components

Sentry

Created February 14, 2017 at 5:20 AM
Updated March 9, 2017 at 11:59 PM
Resolved March 9, 2017 at 11:59 PM