Skip to content

Commit

Permalink
fix(gulpfile): ensure tmp dir exists when updating brew tap
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Sep 17, 2018
1 parent 37640a8 commit 3f2ace8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions garden-cli/gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ gulp.task("tslint-tests", () =>
*/
gulp.task("update-brew", async () => {
// clone the homebrew-garden tap repo
await ensureDir(tmpDir)
const brewRepoDir = resolve(tmpDir, "homebrew-garden")
if (await pathExists(brewRepoDir)) {
await remove(brewRepoDir)
Expand Down

0 comments on commit 3f2ace8

Please sign in to comment.