Skip to content

Commit 365f44b

Browse files
committed
Merge pull request opencv#17285 from sauhaardac:patch-1
2 parents bcf96d6 + fa349b7 commit 365f44b

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)