diff --git a/src/lib/plugin/saveDisk/processDeletedEntry.js b/src/lib/plugin/saveDisk/processDeletedEntry.js index 929fdbc..372f1be 100644 --- a/src/lib/plugin/saveDisk/processDeletedEntry.js +++ b/src/lib/plugin/saveDisk/processDeletedEntry.js @@ -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') {