Light editing to scripts in hack/gofmt (#2236)
* Update gofmt.sh Removed duplicate shebang interpreter directive: `#!/bin/bash` * Update boilerplate.sh Removed duplicate shebang interpreter directive.
This commit is contained in:
		
							parent
							
								
									197fbdd705
								
							
						
					
					
						commit
						0f40a810d1
					
				|  | @ -14,8 +14,6 @@ | |||
| # See the License for the specific language governing permissions and | ||||
| # limitations under the License. | ||||
| 
 | ||||
| #!/bin/bash | ||||
| 
 | ||||
| # Ignore these paths in the following tests. | ||||
| ignore="vendor\|out" | ||||
| BOILERPLATEDIR=./hack/boilerplate | ||||
|  |  | |||
|  | @ -15,8 +15,6 @@ | |||
| # limitations under the License. | ||||
| 
 | ||||
| 
 | ||||
| #!/bin/bash | ||||
| 
 | ||||
| files=$(find . -name "*.go" | grep -v vendor/ | xargs gofmt -l -s) | ||||
| if [[ $files ]]; then | ||||
|     echo "Gofmt errors in files:" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue