From 008209b0e0434da9832768aefbed66d6c7205736 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 7 Feb 2021 18:22:54 -0500 Subject: [PATCH] ImportHandler: Delete redundant variable --- src/node/handler/ImportHandler.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node/handler/ImportHandler.js b/src/node/handler/ImportHandler.js index d2f98f47d..82a611398 100644 --- a/src/node/handler/ImportHandler.js +++ b/src/node/handler/ImportHandler.js @@ -152,7 +152,6 @@ const doImport = async (req, res, padId) => { throw 'padHasData'; } - const fsp_readFile = util.promisify(fs.readFile); const _text = await fsp_readFile(srcFile, 'utf8'); req.directDatabaseAccess = true; await importEtherpad.setPadRaw(padId, _text);