Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const options = {
outputHtml: true,
};

unRTF
unRtf
.convert(file, options)
.then((res) => {
console.log(res);
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class UnRTF {
* @param {string} file - Filepath of the RTF file to read.
* @param {UnRTFOptions} [options] - Options to pass to the UnRTF binary.
* @param {UnRTFExtraOptions} [extras] - Non-CLI options.
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
* @returns {Promise<string>} A promise that resolves with a stdout string, or rejects with an `Error` object.
* @throws {Error} If the file is missing, not an RTF file, or if UnRTF returns an error.
*/
async convert(file, options = {}, extras = {}) {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/gen-combos.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const btPowerSetRecursive = require("./bt-power-set");

/**
* @author Frazer Smith
* @description Utility function to generate unique combinations when provided with an
* @description Generates unique combinations when provided with an
* array of objects.
* @param {object[]} originalSet - Array of objects.
* @returns {object[]} All subsets of array of objects provided.
Expand Down
Loading