Skip to content

Commit

Permalink
Cleanup extra error issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWiegman committed Dec 31, 2023
1 parent 6740604 commit 791fb0a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ func newStartCommand(consoleOutput *console.Console, kanaSite *site.Site) *cobra

siteType, err = kanaSite.DetectType()
if err != nil {
if kanaSite.Settings.IsNewSite {
remError := os.RemoveAll(kanaSite.Settings.SiteDirectory)
if remError != nil {
consoleOutput.Error(remError)
}
}
consoleOutput.Error(err)
}

Expand Down

0 comments on commit 791fb0a

Please sign in to comment.