Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/ABLExec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ function getDefaultCommand (cfg: ABLUnitConfig, dlc: IDlc, propath: PropathParse

const executable = dlc.uri.fsPath.replace(/\\/g, '/') + '/bin/' + cfg.ablunitConfig.command.executable

const cmd = [ executable, '-b', '-p', execFile ]
const cmd = [ executable, '-p', execFile ]

if (cfg.ablunitConfig.command.batch) {
cmd.push('-b')
}
Comment thread
kenherring marked this conversation as resolved.

process.env['PROPATH'] = propath.toString().replace(/\$\{DLC\}/g, dlc.uri.fsPath.replace(/\\/g, '/'))

Expand Down
6 changes: 5 additions & 1 deletion src/ABLUnitRun.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ function getDefaultCommand (res: ABLResults) {

const executable = res.dlc.uri.fsPath.replace(/\\/g, '/') + '/bin/' + res.cfg.ablunitConfig.command.executable

const cmd = [ executable, '-b', '-p', res.wrapperUri.fsPath.replace(/\\/g, '/') ]
const cmd = [ executable, '-p', res.wrapperUri.fsPath.replace(/\\/g, '/') ]

if (res.cfg.ablunitConfig.command.batch) {
cmd.push('-b')
}
Comment thread
kenherring marked this conversation as resolved.

process.env['PROPATH'] = res.propath.toString().replace(/\$\{DLC\}/g, res.dlc.uri.fsPath.replace(/\\/g, '/'))

Expand Down
Loading