protected function cleanManifestFiles($collection, Entry $entry)
    {
        if ( ! $entry->hasProductionFingerprints() or ! isset($this->environment[$collection]))
        {
            $this->deleteMatchingFiles($this->buildPath.'/'.$collection.'-*.*');

            $entry->resetProductionFingerprints();
        }

        if ( ! $entry->hasDevelopmentAssets() or ! isset($this->environment[$collection]))
        {
            $this->files->deleteDirectory($this->buildPath.'/'.$collection);

            $entry->resetDevelopmentAssets();
        }
    }