Skip to content

Commit

Permalink
Removing the errors file before starting resource download
Browse files Browse the repository at this point in the history
  • Loading branch information
khalidx authored Apr 22, 2022
1 parent bf81396 commit e6e267f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export async function cli (args: string[]) {
if (command === undefined || command === 'sync') {
await ensureDir('.cfs/')
await writeFile('.cfs/.gitignore', '*\n')
await remove('.cfs/errors.log')
const region = typeof argv['region'] === 'string' ? argv['region'] : undefined
Regions.set(region)
const started = Date.now()
Expand Down

0 comments on commit e6e267f

Please sign in to comment.