Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
macdylan committed Apr 23, 2024
1 parent 3641521 commit 77ba2b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.20
require (
github.com/gosuri/uilive v0.0.4
github.com/imroc/req/v3 v3.11.0
github.com/macdylan/SMFix/fix v0.0.0-20240325141746-70877a3c65b4
github.com/macdylan/SMFix/fix v0.0.0-20240423073624-4c3e6ccd4488
github.com/manifoldco/promptui v0.9.0
gopkg.in/yaml.v3 v3.0.1
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/macdylan/SMFix/fix v0.0.0-20240325141746-70877a3c65b4 h1:rARnyaM9Nr6totFfbK86MesJDdkozbBloB7i5afdngY=
github.com/macdylan/SMFix/fix v0.0.0-20240325141746-70877a3c65b4/go.mod h1:dnB1MevhW7tICqBpQ2aHpVClwLdmSBUNmfV7jpRmiWw=
github.com/macdylan/SMFix/fix v0.0.0-20240423073624-4c3e6ccd4488 h1:Mxf+jmb7MszHt0rVp3v2+fIJ936T0QBUseyW0crhssQ=
github.com/macdylan/SMFix/fix v0.0.0-20240423073624-4c3e6ccd4488/go.mod h1:dnB1MevhW7tICqBpQ2aHpVClwLdmSBUNmfV7jpRmiWw=
github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA=
github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg=
github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
Expand Down
6 changes: 3 additions & 3 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ func postProcess(r io.Reader) (out []byte, err error) {
if !noTrim {
// funcs = append(funcs, fix.GcodeTrimLines)
}
if !noReplaceTool {
funcs = append(funcs, fix.GcodeReplaceToolNum)
}
if !noShutoff {
funcs = append(funcs, fix.GcodeFixShutoff)
}
if !noPreheat {
funcs = append(funcs, fix.GcodeFixPreheat)
}
if !noReplaceTool {
funcs = append(funcs, fix.GcodeReplaceToolNum)
}
if !noReinforceTower {
funcs = append(funcs, fix.GcodeReinforceTower)
}
Expand Down

0 comments on commit 77ba2b5

Please sign in to comment.