From 42f12563e49da9d79d25616e0dbf48f0b0248304 Mon Sep 17 00:00:00 2001 From: Brice Rising <brice.rising@slalom.com> Date: Mon, 17 Dec 2018 16:34:11 -0500 Subject: [PATCH] Fix linting issues Signed-off-by: Brice Rising <brice.rising@slalom.com> (cherry picked from commit 16852f04d92b97de4599b60c2c6a540e950cb97e) --- pkg/fsutil/fs_test.go | 1 - pkg/fsutil/rename.go | 6 +++--- pkg/fsutil/rename_windows.go | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pkg/fsutil/fs_test.go b/pkg/fsutil/fs_test.go index 6d4ea1cad..2888f7953 100644 --- a/pkg/fsutil/fs_test.go +++ b/pkg/fsutil/fs_test.go @@ -18,7 +18,6 @@ See the License for the specific language governing permissions and limitations under the License. */ - package fs import ( diff --git a/pkg/fsutil/rename.go b/pkg/fsutil/rename.go index e24d46615..944e4831f 100644 --- a/pkg/fsutil/rename.go +++ b/pkg/fsutil/rename.go @@ -1,8 +1,10 @@ +// +build !windows + /* Copyright (c) for portions of rename.go are held by The Go Authors, 2016 and are provided under the BSD license. -https://github.com/golang/dep/blob/master/LICENSE +https://github.com/golang/go/blob/master/LICENSE Copyright The Helm Authors. Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,8 +20,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -// +build !windows - package fs import ( diff --git a/pkg/fsutil/rename_windows.go b/pkg/fsutil/rename_windows.go index fec128bc4..d9540290a 100644 --- a/pkg/fsutil/rename_windows.go +++ b/pkg/fsutil/rename_windows.go @@ -1,3 +1,5 @@ +// +build windows + /* Copyright (c) for portions of rename_windows.go are held by The Go Authors, 2016 and are provided under the BSD license. @@ -18,8 +20,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -// +build windows - package fs import ( -- GitLab