You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/03/15 03:29:59 UTC
[3/4] incubator-mynewt-newt git commit: Remove debug printf.
Remove debug printf.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/2f21310f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/2f21310f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/2f21310f
Branch: refs/heads/master
Commit: 2f21310f8ff5bcc7d9c99626bfbd558aa1cd34ce
Parents: be2c37a
Author: Christopher Collins <cc...@apache.org>
Authored: Mon Mar 14 19:23:43 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Mon Mar 14 19:23:43 2016 -0700
----------------------------------------------------------------------
newt/builder/load.go | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/2f21310f/newt/builder/load.go
----------------------------------------------------------------------
diff --git a/newt/builder/load.go b/newt/builder/load.go
index 9b82362..a517b58 100644
--- a/newt/builder/load.go
+++ b/newt/builder/load.go
@@ -59,9 +59,12 @@ func (b *Builder) Load() error {
downloadScript, bspPath, binBaseName, featureString)
rsp, err := util.ShellCommand(downloadCmd)
- fmt.Printf("%s", rsp)
+ if err != nil {
+ util.StatusMessage(util.VERBOSITY_DEFAULT, "%s", rsp)
+ return err
+ }
- return err
+ return nil
}
func (b *Builder) Debug() error {