From fa349b7a4ec5272782380e8eaf1486d57847f3b6 Mon Sep 17 00:00:00 2001 From: Sauhaarda Chowdhuri Date: Wed, 13 May 2020 13:14:05 -0700 Subject: [PATCH] Fix #17279 Documentation Error Update documentation to solve #17279. Simple documentation bug. --- doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown b/doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown index 75ae205e13..9ff4a05d24 100644 --- a/doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown +++ b/doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown @@ -146,7 +146,7 @@ npm install canvas jsdom @code{.js} const { Canvas, createCanvas, Image, ImageData, loadImage } = require('canvas'); const { JSDOM } = require('jsdom'); -const { writeFileSync } = require('fs'); +const { writeFileSync, existsSync, mkdirSync } = require("fs"); // This is our program. This time we use JavaScript async / await and promises to handle asynchronicity. (async () => {