fix: basedirectory should be empty if null

This commit is contained in:
Andras Bacsai 2022-09-25 07:47:54 +00:00
parent 17f82109b6
commit e44d0550d2

View File

@ -154,7 +154,7 @@ import * as buildpacks from '../lib/buildPacks';
startCommand = configuration.startCommand; startCommand = configuration.startCommand;
buildCommand = configuration.buildCommand; buildCommand = configuration.buildCommand;
publishDirectory = configuration.publishDirectory; publishDirectory = configuration.publishDirectory;
baseDirectory = configuration.baseDirectory; baseDirectory = configuration.baseDirectory || '';
dockerFileLocation = configuration.dockerFileLocation; dockerFileLocation = configuration.dockerFileLocation;
denoMainFile = configuration.denoMainFile; denoMainFile = configuration.denoMainFile;
const commit = await importers[gitSource.type]({ const commit = await importers[gitSource.type]({