Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
fix go commands
Browse files Browse the repository at this point in the history
  • Loading branch information
verdverm committed Apr 12, 2020
1 parent 539beb0 commit c62f184
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/modder/modder_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ func (mdr *Modder) Status() error {

// Status Command Override
if len(mdr.CommandStatus) > 0 {
for _, cmd := range mdr.CommandGraph {
for _, cmd := range mdr.CommandStatus {
out, err := util.Exec(cmd)
fmt.Println(out)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion lib/modder/modder_tidy.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ func (mdr *Modder) Tidy() error {

// Tidy Command Override
if len(mdr.CommandTidy) > 0 {
for _, cmd := range mdr.CommandGraph {
for _, cmd := range mdr.CommandTidy {
out, err := util.Exec(cmd)
fmt.Println(out)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion lib/modder/modder_vendor.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (mdr *Modder) Vendor() error {

// Vendor Command Override
if len(mdr.CommandVendor) > 0 {
for _, cmd := range mdr.CommandGraph {
for _, cmd := range mdr.CommandVendor {
out, err := util.Exec(cmd)
fmt.Println(out)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion lib/modder/modder_verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ func (mdr *Modder) Verify() error {

// Verify Command Override
if len(mdr.CommandVerify) > 0 {
for _, cmd := range mdr.CommandGraph {
for _, cmd := range mdr.CommandVerify {
out, err := util.Exec(cmd)
fmt.Println(out)
if err != nil {
Expand Down

0 comments on commit c62f184

Please sign in to comment.