Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: minor fix
Browse files Browse the repository at this point in the history
cosmic-vagabond committed Feb 9, 2024
1 parent 612cb89 commit 28282ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/upgrade-assure/update-config.go
Original file line number Diff line number Diff line change
@@ -19,9 +19,7 @@ func updateConfig(homePath string) {
}

// Update app.toml
args = []string{"-i", "", "s/^enable = false/enable = true/", appPath}

log.Printf(Green+"args: %v", args)
args = []string{"-i", "", "/^# Enable defines if the API server should be enabled./{n;s/enable = false/enable = true/;}", appPath}

// Execute the sed command
if err := exec.Command("sed", args...).Run(); err != nil {

0 comments on commit 28282ca

Please sign in to comment.