node/deps/npm/test/packages/npm-test-dir-bin/test.js

6 lines
169 B
JavaScript

require('child_process').spawn('dir-bin', [], {
env: process.env }).on('exit', function (code) {
if (code) throw new Error('exited badly with code = ' + code)
})