Skip to content

Commit 67a0be4

Browse files
committed
Fixing lint error
Signed-off-by: Charlie Fish <[email protected]>
1 parent 9b7e656 commit 67a0be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/circularKeys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export = <T>(object: GeneralObject<T>, searchKey?: string): string[] => {
1313
}
1414

1515
if (stackSet.has(object)) { // it's cyclic! Print the object and its locations.
16-
const oldIndex: number = stack.indexOf(object);
16+
// const oldIndex: number = stack.indexOf(object);
1717
const l1: string = keys.join(".") + "." + key;
1818
// const l2: string = keys.slice(0, oldIndex + 1).join(".");
1919
const currentKey: string = l1.replace(`${originalKey}.`, "");

0 commit comments

Comments
 (0)