Skip to content

Commit

Permalink
fix(index): normalize binPath constructor param (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Nov 4, 2021
1 parent 731aecb commit 81e2863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class UnRTF {
*/
constructor(binPath) {
if (binPath) {
this.unrtfPath = binPath;
this.unrtfPath = path.normalizeTrim(binPath);
} else {
// If not set, expect user to be using Win32
this.unrtfPath = path.joinSafe(
Expand Down

0 comments on commit 81e2863

Please sign in to comment.