Skip to content
Snippets Groups Projects
Commit d2c0b0e7 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: binarySource docker only if opts set

parent ef7357d0
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ export async function exec( ...@@ -93,7 +93,7 @@ export async function exec(
}; };
let commands = typeof cmd === 'string' ? [cmd] : cmd; let commands = typeof cmd === 'string' ? [cmd] : cmd;
if (execConfig.binarySource === BinarySource.Docker) { if (execConfig.binarySource === BinarySource.Docker && docker) {
logger.debug('Using docker to execute'); logger.debug('Using docker to execute');
const dockerOptions = { const dockerOptions = {
...docker, ...docker,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment