Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
haflinger committed Jul 27, 2021
1 parent 68d5c94 commit b56ccb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
module.exports = require(`./lib${process.env.FLUENTFFMPEG_COV ? '-cov' : ''}/fluent-ffmpeg`);
const isCov =
process.env.FLUENTFFMPEG_COV === "1" ||
process.env.FLUENTFFMPEG_COV === "true";
module.exports = require(`./lib${isCov ? "-cov" : ""}/fluent-ffmpeg`);

0 comments on commit b56ccb6

Please sign in to comment.