diff --git a/.nycrc b/.nycrc index e41ab1facb..628fef9ec2 100644 --- a/.nycrc +++ b/.nycrc @@ -1,9 +1,9 @@ { "check-coverage": true, - "lines": 97.83, + "lines": 97.85, "functions": 94.33, - "branches": 94.88, - "statements": 97.82, + "branches": 94.99, + "statements": 97.86, "include": [ "src/**/*.ts" ], diff --git a/src/file/file.ts b/src/file/file.ts index 89634a7978..55464d04e9 100644 --- a/src/file/file.ts +++ b/src/file/file.ts @@ -139,11 +139,8 @@ export class File { } if (options.footnotes) { + // tslint:disable-next-line: forin for (const key in options.footnotes) { - if (!options.footnotes[key]) { - continue; - } - this.footnotesWrapper.View.createFootNote(parseFloat(key), options.footnotes[key].children); } }