Skip to content

Commit

Permalink
Use the strict mode assert in the pdf2png Node.js example (issue …
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuffleupagus committed Dec 21, 2019
1 parent 693240c commit 3783ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/node/pdf2png/pdf2png.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

var Canvas = require('canvas');
var assert = require('assert');
var assert = require('assert').strict;
var fs = require('fs');

function NodeCanvasFactory() {}
Expand Down

0 comments on commit 3783ecc

Please sign in to comment.