Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

properly compute location of programdata rather than hard-code #208

Merged
merged 5 commits into from
Nov 30, 2018

Conversation

derekwbrown
Copy link
Contributor

Title says it all


func init() {
pd, err := winutil.GetProgramDataDir()
if err == nil {
Copy link
Member

Choose a reason for hiding this comment

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

Just a style nit.

if pd, err := winutil.GetProgramDataDir(); err == nil {
  ...
}

And the same below as well

Copy link
Member

@sunhay sunhay left a comment

Choose a reason for hiding this comment

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

Looks good, thanks! Just one tiny style comment and this looks good to merge :)

@sunhay sunhay merged commit 1d28d8f into master Nov 30, 2018
@sunhay sunhay deleted the db/programdata branch November 30, 2018 16:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants