graniticio / granitic

Web/micro-services and IoC framework for Golang developers
https://granitic.io/
Apache License 2.0
35 stars 12 forks source link

CodeQL recommendations #60

Closed benhalstead closed 4 years ago

benhalstead commented 4 years ago

Wrap up of minor issues found CodeQL static analysis:

The variable assignments are copy and paste artifacts and are tested code. Safe to remove.

The regexes are actually being used for parsing a go.mod file for the location of the local Granitic installation (rather than domain names as the tool assumes).

benhalstead commented 4 years ago

Fixed in 2.2.1