Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/targetdir/targetdir.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TargetHome() string {
// TargetHomeCreate checks for the target directory
// and profiles.json file and creates if they don't exist
func TargetHomeCreate() {
var defaultConfig = "{\n\t\"vault\": {},\n\t\"consul\": {},\n\t\"nomad\": {}\n\t\"terraform\": {}\n}"
var defaultConfig = "{\n\t\"vault\": {},\n\t\"consul\": {},\n\t\"nomad\": {},\n\t\"terraform\": {}\n}"
targetHome := TargetHome()
if _, err := os.Stat(targetHome); os.IsNotExist(err) {
os.Mkdir(targetHome, 0755)
Expand Down