Skip to content

Commit

Permalink
commands:compile Change error message for copying output file
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Suppo <[email protected]>
  • Loading branch information
matteosuppo committed Apr 6, 2018
1 parent 9dc2cca commit 3d1abca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/compile/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func run(cmd *cobra.Command, args []string) {
src := outputPath
dst := filepath.Join(sketchPath, sketch.Name+"."+fqbn+ext)
if err = copyFile(src, dst); err != nil {
formatter.PrintError(err, "Error copying hex file.")
formatter.PrintError(err, "Error copying output file.")
os.Exit(commands.ErrGeneric)
}

Expand Down

0 comments on commit 3d1abca

Please sign in to comment.