更新依赖和调整目录结构,未修改模块
This commit is contained in:
@@ -7,7 +7,7 @@ $ErrorActionPreference = "Stop"
|
||||
$workspaceRoot = Split-Path -Parent $PSScriptRoot
|
||||
Push-Location $workspaceRoot
|
||||
try {
|
||||
$unformatted = @(gofmt -l all module)
|
||||
$unformatted = @(gofmt -l pkgs module)
|
||||
if ($unformatted.Count -gt 0) {
|
||||
throw ("gofmt required:" + [Environment]::NewLine + ($unformatted -join [Environment]::NewLine))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user