Skip to content

Commit

Permalink
Force remove directories so gulp won't fail if the directory is an ex…
Browse files Browse the repository at this point in the history
…ternal one. (#3540)
  • Loading branch information
SomeoneToIgnore authored Feb 13, 2018
1 parent 09608a7 commit a65bc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow-maven-plugin/src/main/resources/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function buildConfiguration(polymerProject, redundantPathPrefix, configurationTa
return new Promise((resolve, reject) => {
console.log(`Deleting ${configurationTargetDirectory} directory...`);
const buildBundler = new FlowBuildBundler(polymerProject.config, polymerProject.analyzer);
del([configurationTargetDirectory])
del([configurationTargetDirectory], {force: true})
.then(() => {
console.log('Starting to process frontend files.');
const htmlSplitter = new polymerBuild.HtmlSplitter();
Expand Down

0 comments on commit a65bc84

Please sign in to comment.