1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-15 03:48:02 -05:00
denoland-deno/tests/registry/npm/@denotest/lifecycle-scripts-cjs/1.0.0/preinstall.js
Nathan Whitaker 04f9db5b22
fix(node): Fix --allow-scripts with no deno.json (#24533)
We would resolve the wrong package.json, resulting in an inability to
run CJS (or other node-mode) scripts
2024-07-15 12:11:09 -07:00

5 lines
No EOL
80 B
JavaScript

const inspect = require('util').inspect;
inspect({
"preinstall": "script"
});