Compare commits
1 commit
canary
...
send-proce
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24fa4c12c6 |
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ const mapKeys = require('../utils/map-keys');
|
|||
|
||||
const _extract = function(script) {
|
||||
const module = {};
|
||||
script.runInNewContext({module});
|
||||
script.runInNewContext({module, process});
|
||||
if (!module.exports) {
|
||||
throw new Error('Error reading configuration: `module.exports` not set');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue