Skip to content

Commit

Permalink
fix: remove command output when running
Browse files Browse the repository at this point in the history
  • Loading branch information
Rex-82 committed Sep 20, 2024
1 parent 0c5a71a commit 3f0121e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func RunMysqldump(username, password, databaseName, migrationType, directory str
dumpCommand = fmt.Sprintf("mysqldump -u %s --password='%s' %s > %s", username, password, databaseName, filePath)
}

fmt.Printf("Running command: %s\n", dumpCommand)
fmt.Print("Running...\n")

cmd := exec.Command("sh", "-c", dumpCommand)
output, err := cmd.CombinedOutput()
Expand Down

0 comments on commit 3f0121e

Please sign in to comment.