Skip to content

Commit

Permalink
cleanup commands
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
  • Loading branch information
aluzzardi committed Dec 7, 2018
1 parent 79cd290 commit b1cbcc7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var buildCmd = &cobra.Command{
Verbose: verbose,
NoCache: noCache,
}
ui.Info("Building %s", p.Name)
ui.Info("Building %s", ui.Emphasize(p.Name))
if err := b.Build(ctx, opts); err != nil {
ui.Fatal("Failed to build the application: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func create(rootDir string, p *project.Project) {
ui.Fatal("Failed to initialize: %v", err)
}

ui.Info("Building %s", p.Name)
ui.Info("Building %s", ui.Emphasize(p.Name))
b := builder.New(rootDir, p.Image)
if err := b.Build(ctx, builder.BuildOpts{}); err != nil {
ui.Fatal("Failed to build the application: %v", err)
Expand Down
2 changes: 1 addition & 1 deletion cmd/join.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var joinCmd = &cobra.Command{
chainID = args[0]
)

ui.Info("Joining network %s", chainID)
ui.Info("Joining network %s", ui.Emphasize(chainID))
cfg := &config.Config{
RootDir: path.Join(networksDir, filepath.Base(chainID)),
PublishNetwork: false,
Expand Down
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var startCmd = &cobra.Command{
ui.Fatal("%v", err)
}

ui.Info("Starting %s", p.Name)
ui.Info("Starting %s", ui.Emphasize(p.Name))

d := discovery.New(cfg.IPFSDir(), cfg.Ports.IPFS)
if err := d.Start(ctx); err != nil {
Expand Down

0 comments on commit b1cbcc7

Please sign in to comment.