PR-URL: https://github.com/nodejs/node/pull/37863 Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
5 lines
158 B
JavaScript
5 lines
158 B
JavaScript
import resolveAsFS from './dep.js';
|
|
import fs from 'fs';
|
|
|
|
let correct = resolveAsFS === fs && typeof resolveAsFS === 'object';
|
|
process.exit(correct ? 0 : 1);
|