Skip to content

Commit

Permalink
chore(plugins/rtf-to-html): remove trailing punctuation mark
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Mar 8, 2023
1 parent 4fcdf75 commit 170e00d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/rtf-to-html/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function plugin(server, options) {
* would overwrite the first request's image and that image would be embedded
* into both HTML documents.
*
* We wouldn't want to add one patient's image to another patient's document.
* We wouldn't want to add one patient's image to another patient's document
*/
noPictures: true,
outputHtml: true,
Expand Down Expand Up @@ -121,7 +121,7 @@ async function plugin(server, options) {
* UnRTF generates the image name as `pict001.wmf`, `pict002.wmf`, and so on.
* This means files can be safely removed from the cwd without running the
* risk of removing any important files such as `package.json`, should an image
* ever have the same name.
* ever have the same name
*/
const images = dom.window.document.querySelectorAll("img");
/* istanbul ignore if: dependant on UnRTF version used */
Expand All @@ -133,7 +133,7 @@ async function plugin(server, options) {
/**
* `rm()` used instead of `unlink()` because concurrent requests may create duplicate files,
* which could cause `unlink()` to throw an ENOENT error if the file has already been removed
* by another request's call of this hook.
* by another request's call of this hook
*/
return fs.rm(path.joinSafe(process.cwd(), src), {
force: true,
Expand Down

0 comments on commit 170e00d

Please sign in to comment.