Skip to content

Commit

Permalink
fix: typo in save-disk option for DeletedEntry processing
Browse files Browse the repository at this point in the history
  • Loading branch information
avaragado committed Mar 16, 2018
1 parent 9a000c3 commit 8f51ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/plugin/saveDisk/processDeletedEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const rimraf = promisify(rimrafCB);
const mkdir = promisify(mkdirp);

const process = async (dir: string, entry: DeletedEntry, opts: SaveDiskPluginOptions, timestamp: string) => {
const opt = opts.onDeletetEntry || 'move';
const opt = opts.onDeletedEntry || 'move';
const abspathSource = path.resolve(dir, 'entry', entry.sys.id);

if (opt === 'delete') {
Expand Down

0 comments on commit 8f51ac1

Please # to comment.