mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
b8e41774d4
PR-URL: https://github.com/nodejs/node/pull/31553 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
6 lines
121 B
JavaScript
6 lines
121 B
JavaScript
import '../common/index.mjs';
|
|
import { stat } from 'fs/promises';
|
|
|
|
// Should not reject.
|
|
stat(new URL(import.meta.url));
|