diff --git a/buffalo/cmd/build/target.go b/buffalo/cmd/build/target.go index b1d8ef3cf..897638579 100644 --- a/buffalo/cmd/build/target.go +++ b/buffalo/cmd/build/target.go @@ -10,9 +10,6 @@ import ( func (b *Builder) prepTarget() error { // Create output directory if not exists outputDir := filepath.Join(b.Root, filepath.Dir(b.Bin)) - logrus.Debugf("preparing target dir %s", outputDir) - os.RemoveAll(outputDir) - if _, err := os.Stat(outputDir); os.IsNotExist(err) { os.MkdirAll(outputDir, 0776) logrus.Debugf("creating target dir %s", outputDir)