Skip to content

Commit

Permalink
fix(file): correct writeFile flags
Browse files Browse the repository at this point in the history
fixes #789
  • Loading branch information
ihadeed committed Nov 24, 2016
1 parent 156328c commit 9bd8997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,8 @@ export class File {
}

const getFileOpts: Flags = {
create: !('create' in options) || options.create,
exclusive: !!options.replace
create: !options.append,
exclusive: !options.replace
};

return File.resolveDirectoryUrl(path)
Expand Down

0 comments on commit 9bd8997

Please sign in to comment.