Skip to content

Commit fa349b7

Browse files
Fix opencv#17279 Documentation Error
Update documentation to solve opencv#17279. Simple documentation bug.
1 parent b2464e3 commit fa349b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ npm install canvas jsdom
146146
@code{.js}
147147
const { Canvas, createCanvas, Image, ImageData, loadImage } = require('canvas');
148148
const { JSDOM } = require('jsdom');
149-
const { writeFileSync } = require('fs');
149+
const { writeFileSync, existsSync, mkdirSync } = require("fs");
150150

151151
// This is our program. This time we use JavaScript async / await and promises to handle asynchronicity.
152152
(async () => {

0 commit comments

Comments
 (0)