Skip to content

Commit 6656adf

Browse files
clean: hashIOP -> hasIOP
1 parent 45b6465 commit 6656adf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

field/generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func GenerateFF(F *config.Field, outputDir string, options ...Option) error {
7575
}
7676

7777
// generate iop
78-
if cfg.HashIOP() {
78+
if cfg.HasIOP() {
7979
if err := generateIOP(F, outputDir); err != nil {
8080
return err
8181
}

field/generator/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (cfg *generatorConfig) HasSIS() bool {
2727
return cfg.withSIS
2828
}
2929

30-
func (cfg *generatorConfig) HashIOP() bool {
30+
func (cfg *generatorConfig) HasIOP() bool {
3131
return cfg.withIOP
3232
}
3333

0 commit comments

Comments
 (0)