refactor: spawn promise should support multiple exports

This commit is contained in:
Randall Morey committed 2021-02-02 11:12:55 -05:00
1 parent 49433bc72d
commit ee3b6db3d5
2 files changed
+32 -19

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
const path = require('path');
const spawnPromise = require('./spawn-promise');
const { spawnAsyncJSONPromise } = require('./spawn-promise');
const cliPath = async () => path.resolve(__dirname, '..', 'cli', 'boundary');
@@ -18,6 +18,6 @@ module.exports = {
'-format=json',
'--output-json-errors'
];
return spawnPromise(command);
return spawnAsyncJSONPromise(command);
}
}