Skip to content

Commit

Permalink
fix: post-upgrade tasks see the latest changes to any files when runn…
Browse files Browse the repository at this point in the history
…ing (#6396)
  • Loading branch information
daekene committed Jun 1, 2020
1 parent 818cbdb commit 1e92239
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/workers/branch/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { join } from 'path';
import is from '@sindresorhus/is';
import { concat } from 'lodash';
import { DateTime } from 'luxon';
Expand Down Expand Up @@ -359,7 +358,7 @@ export async function processBranch(
} else {
contents = file.contents;
}
await writeLocalFile(join(config.localDir, file.name), contents);
await writeLocalFile(file.name, contents);
}
}

Expand Down

0 comments on commit 1e92239

Please sign in to comment.