1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-15 02:20:15 -05:00
denoland-deno/tests/registry/npm/@denotest/lifecycle-scripts-cjs/1.0.0/preinstall.js
Nathan Whitaker 9a859318d6
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-22 22:47:08 +02:00

5 lines
No EOL
80 B
JavaScript

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