Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
fix config dir
Browse files Browse the repository at this point in the history
  • Loading branch information
verdverm committed May 14, 2020
1 parent 2702d10 commit 3fc92ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .hof/Cli/cmd/mvs/ga/ga.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func readGaId() (string, error) {
if err != nil {
return "", err
}
dir := filepath.Join(ucd, ".hof")
dir := filepath.Join(ucd, "hof")
fn := filepath.Join(dir, ".uuid")

_, err = os.Lstat(fn)
Expand All @@ -81,7 +81,7 @@ func writeGaId() (string, error) {
return "", err
}

dir := filepath.Join(ucd, ".hof")
dir := filepath.Join(ucd, "hof")
err = yagu.Mkdir(dir)
if err != nil {
return "", err
Expand Down
2 changes: 1 addition & 1 deletion cli.cue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ HofGenCli: gen.#HofGenerator & {
}

Telemetry: "UA-103579574-5"
TelemetryIdDir: ".hof"
TelemetryIdDir: "hof"

OmitRun: true

Expand Down
4 changes: 2 additions & 2 deletions cmd/mvs/ga/ga.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func readGaId() (string, error) {
if err != nil {
return "", err
}
dir := filepath.Join(ucd, ".hof")
dir := filepath.Join(ucd, "hof")
fn := filepath.Join(dir, ".uuid")

_, err = os.Lstat(fn)
Expand All @@ -81,7 +81,7 @@ func writeGaId() (string, error) {
return "", err
}

dir := filepath.Join(ucd, ".hof")
dir := filepath.Join(ucd, "hof")
err = yagu.Mkdir(dir)
if err != nil {
return "", err
Expand Down

0 comments on commit 3fc92ae

Please sign in to comment.