We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5baf3d commit 2945b89Copy full SHA for 2945b89
1 file changed
go/compiler.go
@@ -332,7 +332,7 @@ func NewCompiler(opts ...CompileOption) (*Compiler, error) {
332
}
333
334
func (c *Compiler) initialize() error {
335
- for name, _ := range c.ignoredModules {
+ for name := range c.ignoredModules {
336
c.ignoreModule(name)
337
338
for _, feature := range c.features {
@@ -346,9 +346,9 @@ func (c *Compiler) initialize() error {
346
return err
347
348
349
- for _, dir := range c.includeDirs {
350
- c.addIncludeDir(dir)
351
- }
+ for _, dir := range c.includeDirs {
+ c.addIncludeDir(dir)
+ }
352
return nil
353
354
0 commit comments