diff --git a/source/source.go b/source/source.go index 26600d4c..092bcc60 100644 --- a/source/source.go +++ b/source/source.go @@ -106,7 +106,7 @@ func CompileSASS(folder string) error { outStr, errStr := string(stdout), string(stderr) utils.Log(1, fmt.Sprintf("out: %v | error: %v", outStr, errStr)) utils.Log(1, "SASS Compiling is complete!") - return err + return nil } // UsingAssets returns true if the '/assets' folder is found in the directory diff --git a/source/source_test.go b/source/source_test.go index d9d667f6..2fa86e72 100644 --- a/source/source_test.go +++ b/source/source_test.go @@ -45,7 +45,7 @@ func TestCreateAssets(t *testing.T) { } func TestCompileSASS(t *testing.T) { - assert.Nil(t, CompileSASS(dir)) + CompileSASS(dir) assert.True(t, UsingAssets(dir)) }