Skip to content

Commit

Permalink
Add some review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ccojocar committed Feb 7, 2018
1 parent f1b903f commit 179c178
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions rules/ssh.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
// (c) Copyright 2016 Hewlett Packard Enterprise Development LP
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package rules

import (
Expand Down
2 changes: 1 addition & 1 deletion testutils/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ import (
"golang.org/x/crypto/ssh"
)
func main() {
_ := ssh.InsecureIgnoreHostKey()
_ = ssh.InsecureIgnoreHostKey()
}`, 1}}
// SampleCodeG201 - SQL injection via format string
SampleCodeG201 = []CodeSample{
Expand Down

0 comments on commit 179c178

Please sign in to comment.