From 38b2ffe89935f0533cf2a0d5ff8968d90616a65a Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Wed, 1 Dec 2021 16:30:10 -0500 Subject: [PATCH] lint: Avoid snake case --- src/node/db/Pad.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js index 62baf1a9e..de3c7669a 100644 --- a/src/node/db/Pad.js +++ b/src/node/db/Pad.js @@ -192,7 +192,7 @@ Pad.prototype.getInternalRevisionAText = async function (targetRev) { // get all needed data out of the database // start to get the atext of the key revision - const p_atext = this.db.getSub(`pad:${this.id}:revs:${keyRev}`, ['meta', 'atext']); + const atextp = this.db.getSub(`pad:${this.id}:revs:${keyRev}`, ['meta', 'atext']); // get all needed changesets const changesets = []; @@ -202,7 +202,7 @@ Pad.prototype.getInternalRevisionAText = async function (targetRev) { }))); // we should have the atext by now - let atext = await p_atext; + let atext = await atextp; atext = Changeset.cloneAText(atext); // apply all changesets to the key changeset