更新依赖和调整目录结构,未修改模块
This commit is contained in:
@@ -7,7 +7,7 @@ readonly WORKSPACE_ROOT="$(cd -- "${SCRIPT_DIR}/.." && pwd)"
|
||||
|
||||
cd -- "${WORKSPACE_ROOT}"
|
||||
|
||||
unformatted="$(gofmt -l all module)"
|
||||
unformatted="$(gofmt -l pkgs module)"
|
||||
if [[ -n "${unformatted}" ]]; then
|
||||
printf 'error: gofmt required:\n%s\n' "${unformatted}" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user