Skip to content

Commit

Permalink
Linting on PLIST viewer operation.
Browse files Browse the repository at this point in the history
  • Loading branch information
n1073645 committed Nov 25, 2019
1 parent 0295d0c commit d8405e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/operations/PLISTViewer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class PLISTViewer extends Operation {
* @param {array} vals
* @param {number} offset
*/
function braces(elem, vals,offset) {
let temp = vals.indexOf(elem);
function braces(elem, vals, offset) {
const temp = vals.indexOf(elem);
if (temp !== -1) {
depthCount += offset;
if (temp === 1)
Expand Down Expand Up @@ -129,7 +129,7 @@ class PLISTViewer extends Operation {
result += temp;

// Controls the tab depth for how many opening braces there have been.
braces(currElem, ["{", "["],1);
braces(currElem, ["{", "["], 1);

// If there has been a new array then reset index.
if (arrCount > origArr)
Expand Down

0 comments on commit d8405e5

Please sign in to comment.