Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
added --no-progress to npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Jul 16, 2017
1 parent 1dd2ebf commit 8ce6f73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buffalo/cmd/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func npmCheck() error {
if err != nil {
return errors.WithStack(err)
}
err = run(exec.Command("npm", "install"))
err = run(exec.Command("npm", "install", "--no-progress"))
if err != nil {
return errors.Errorf("We encountered the following error when trying to install your asset dependencies using npm:\n%s", err)
}
Expand Down
2 changes: 1 addition & 1 deletion generators/assets/webpack/webpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func New(data makr.Data) (*makr.Generator, error) {
}

command := "npm"
args := []string{"install", "--save"}
args := []string{"install", "--no-progress", "--save"}
// If yarn.lock exists then yarn is used by default (generate webpack)
_, ferr := os.Stat("yarn.lock")
if ferr == nil {
Expand Down

0 comments on commit 8ce6f73

Please sign in to comment.