Skip to content

Commit

Permalink
correct println
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrunde committed Sep 15, 2023
1 parent 61426b8 commit b22eb25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/cmd/guide.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ var guideCmd = &cobra.Command{
}
_, dirExists := os.Stat("/" + guideDir)
if dirExists == nil {
fmt.Printf("A directory already exists by the name '%s', rename or move it.\n")
fmt.Printf("A directory already exists by the name '%s', rename or move it.\n", guideDir)
os.Exit(1)
}

// Clone the template from github
fmt.Println("\nWriting 'learn-curriculum-init' directory and contents...")
fmt.Printf("\nWriting '%s' directory and contents...\n", guideDir)

// Create contents int he directory
err = generateGuide(currentDir)
Expand All @@ -93,6 +93,7 @@ Success!
========
A small example curriculum for use with the walkthrough at https://learn-2.galvanize.com/cohorts/667/blocks/13/content_files/walkthrough/01-overview.md has been added to this directory.`)
fmt.Println("\nFrom inside the new directory run 'learn preview .' to preview the walkthrough materials.")
},
}

Expand Down

0 comments on commit b22eb25

Please sign in to comment.