aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd/run.go
diff options
context:
space:
mode:
authorMaurĂ­cio Antunes <mauricio.abreua@gmail.com>2022-10-29 23:20:03 -0300
committerMaurĂ­cio Antunes <mauricio.abreua@gmail.com>2022-10-29 23:33:42 -0300
commit77736509fbd2c4e75b08cdc6705d0130f7a5e1bf (patch)
tree570d4a26011b9eaf4c2b34b507fa40ddabc0274a /src/cmd/run.go
parentcc401c9e06c6d1776e3ecf773a45be3420b7d677 (diff)
feat: find exercise from toml
Diffstat (limited to 'src/cmd/run.go')
-rw-r--r--src/cmd/run.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/run.go b/src/cmd/run.go
index aeec65d..fb62f67 100644
--- a/src/cmd/run.go
+++ b/src/cmd/run.go
@@ -21,7 +21,7 @@ var cmdRun = &cobra.Command{
out, err := exercises.Run(args[0])
fmt.Println(out)
if err != nil {
- color.Red("Your exercise is failing")
+ color.Red("Your exercise is failing: %s", err)
os.Exit(1)
}
color.Green("Congratulations!")