Skip to content

Commit 77ba2b5

Browse files
committed
update
1 parent 3641521 commit 77ba2b5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.20
55
require (
66
github.com/gosuri/uilive v0.0.4
77
github.com/imroc/req/v3 v3.11.0
8-
github.com/macdylan/SMFix/fix v0.0.0-20240325141746-70877a3c65b4
8+
github.com/macdylan/SMFix/fix v0.0.0-20240423073624-4c3e6ccd4488
99
github.com/manifoldco/promptui v0.9.0
1010
gopkg.in/yaml.v3 v3.0.1
1111
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
2121
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
2222
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
2323
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
24-
github.com/macdylan/SMFix/fix v0.0.0-20240325141746-70877a3c65b4 h1:rARnyaM9Nr6totFfbK86MesJDdkozbBloB7i5afdngY=
25-
github.com/macdylan/SMFix/fix v0.0.0-20240325141746-70877a3c65b4/go.mod h1:dnB1MevhW7tICqBpQ2aHpVClwLdmSBUNmfV7jpRmiWw=
24+
github.com/macdylan/SMFix/fix v0.0.0-20240423073624-4c3e6ccd4488 h1:Mxf+jmb7MszHt0rVp3v2+fIJ936T0QBUseyW0crhssQ=
25+
github.com/macdylan/SMFix/fix v0.0.0-20240423073624-4c3e6ccd4488/go.mod h1:dnB1MevhW7tICqBpQ2aHpVClwLdmSBUNmfV7jpRmiWw=
2626
github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA=
2727
github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg=
2828
github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=

utils.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ func postProcess(r io.Reader) (out []byte, err error) {
8080
if !noTrim {
8181
// funcs = append(funcs, fix.GcodeTrimLines)
8282
}
83-
if !noReplaceTool {
84-
funcs = append(funcs, fix.GcodeReplaceToolNum)
85-
}
8683
if !noShutoff {
8784
funcs = append(funcs, fix.GcodeFixShutoff)
8885
}
8986
if !noPreheat {
9087
funcs = append(funcs, fix.GcodeFixPreheat)
9188
}
89+
if !noReplaceTool {
90+
funcs = append(funcs, fix.GcodeReplaceToolNum)
91+
}
9292
if !noReinforceTower {
9393
funcs = append(funcs, fix.GcodeReinforceTower)
9494
}

0 commit comments

Comments
 (0)