test: add parameter options to usage of type ExecFileFn
This commit is contained in:
parent
c0f0dc5192
commit
08a833f1cf
22 changed files with 71 additions and 41 deletions
|
|
@ -31,7 +31,7 @@ export function convert(
|
|||
}
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
execFile(tool, [filePath, targetPath], (error, stdout, stderr) => {
|
||||
execFile(tool, [filePath, targetPath], options, (error, stdout, stderr) => {
|
||||
if (error) {
|
||||
reject(`error: ${error}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue