Skip to content

Commit

Permalink
test(index): add istanbul inline comments (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Mar 31, 2023
1 parent 9a967fa commit b401f90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function parseOptions(acceptedOptions, options, version) {
);
}

/* istanbul ignore next: requires incredibly old version of UnRTF to test */
if (
acceptedOptions[key].maxVersion &&
version &&
Expand All @@ -68,6 +69,7 @@ class UnRTF {
* @param {string=} binPath - Path of UnRTF binary.
*/
constructor(binPath) {
/* istanbul ignore else: requires specific OS */
if (binPath) {
this.unrtfPath = path.normalizeTrim(binPath);
} else if (process.platform === "win32") {
Expand Down

0 comments on commit b401f90

Please sign in to comment.