test: add callback to fs.close() in test-fs-stat · nodejs/node@74dc86d · GitHub
Skip to content

Commit 74dc86d

Browse files
vsemozhetbytMylesBorins
authored andcommitted
test: add callback to fs.close() in test-fs-stat
To avoid '[DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.' PR-URL: #12804 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent a47a9b7 commit 74dc86d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/parallel/test-fs-stat.js

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)