fix lint
This commit is contained in:
parent
ae81ff9c57
commit
db034c2e43
2
.github/workflows/super-linter.yml
vendored
2
.github/workflows/super-linter.yml
vendored
@ -34,7 +34,5 @@ jobs:
|
||||
VALIDATE_OPENAPI: false
|
||||
VALIDATE_JSCPD: false
|
||||
VALIDATE_GO: false
|
||||
VALIDATE_BASH: false
|
||||
VALIDATE_DOCKER: false
|
||||
DEFAULT_BRANCH: "main"
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
2
client/docs/swagger-ui/swagger-ui-bundle.js
vendored
2
client/docs/swagger-ui/swagger-ui-bundle.js
vendored
@ -3048,7 +3048,7 @@
|
||||
})
|
||||
}, t.getCommonExtensions = function(e) {
|
||||
return e.filter(function(e, t) {
|
||||
return /^pattern|maxLength|minLength|maximum|minimum/.test(t)
|
||||
return /^pattern$|^maxLength$|^minLength$|^maximum$|^minimum$/.test(t)
|
||||
})
|
||||
}
|
||||
}).call(t, n(54).Buffer)
|
||||
|
@ -331,8 +331,7 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) { // nosemgrep
|
||||
appCfg.JSONRPC.Address = cfg.JSONRPCAddress
|
||||
} else {
|
||||
_, jsonRPCPort, err := server.FreeTCPAddr()
|
||||
if err != nil {
|
||||
|
||||
if err != nil { // nosemgrep
|
||||
return nil, err // nosemgrep
|
||||
}
|
||||
appCfg.JSONRPC.Address = fmt.Sprintf("127.0.0.1:%s", jsonRPCPort)
|
||||
|
Loading…
Reference in New Issue
Block a user