diff --git a/.gitignore b/.gitignore index 89244f128..e71fe6c00 100644 --- a/.gitignore +++ b/.gitignore @@ -20,5 +20,6 @@ dock.sh GoBuilds dist +resources/sunset.jpg vendor \ No newline at end of file diff --git a/resources/testhelpers_test.go b/resources/testhelpers_test.go index 1b2be00d7..8aeb1768f 100644 --- a/resources/testhelpers_test.go +++ b/resources/testhelpers_test.go @@ -102,7 +102,6 @@ func newTestResourceOsFs(assert *require.Assertions) *Spec { fs := hugofs.NewFrom(hugofs.Os, cfg) fs.Destination = &afero.MemMapFs{} - fs.Source = afero.NewBasePathFs(hugofs.Os, workDir) s, err := helpers.NewPathSpec(fs, cfg, nil) assert.NoError(err)