From 8f51ac1c0207d3c2b1d62fc6fba0d479e3dc68b3 Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 16 Mar 2018 20:19:01 +0000 Subject: [PATCH] fix: typo in save-disk option for DeletedEntry processing --- src/lib/plugin/saveDisk/processDeletedEntry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {