aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/os/os.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/os/os.go')
-rw-r--r--tpl/os/os.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/tpl/os/os.go b/tpl/os/os.go
index eb31498af..214706593 100644
--- a/tpl/os/os.go
+++ b/tpl/os/os.go
@@ -28,7 +28,6 @@ import (
// New returns a new instance of the os-namespaced template functions.
func New(d *deps.Deps) *Namespace {
-
var rfs afero.Fs
if d.Fs != nil {
rfs = d.Fs.WorkingDir
@@ -80,7 +79,6 @@ func readFile(fs afero.Fs, filename string) (string, error) {
return "", err
}
b, err := afero.ReadFile(fs, filename)
-
if err != nil {
return "", err
}