mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-03-25 05:25:15 +00:00
os build-config: Fix output file containing 'undefined' word since v12.9.4
Resolves: #1975 Change-type: patch
This commit is contained in:
parent
7aa1708f46
commit
74c6f8a627
@ -91,7 +91,7 @@ export default class OsBuildConfigCmd extends Command {
|
||||
|
||||
await writeFile(options.output, JSON.stringify(config, null, 4));
|
||||
|
||||
console.info(`Config file ${params.image} created successfully.`);
|
||||
console.info(`Config file "${options.output}" created successfully.`);
|
||||
}
|
||||
|
||||
async buildConfig(image: string, deviceTypeSlug: string, advanced: boolean) {
|
||||
@ -100,7 +100,7 @@ export default class OsBuildConfigCmd extends Command {
|
||||
const { getManifest } = await import('../../utils/helpers');
|
||||
|
||||
const deviceTypeManifest = await getManifest(image, deviceTypeSlug);
|
||||
await this.buildConfigForDeviceType(deviceTypeManifest, advanced);
|
||||
return this.buildConfigForDeviceType(deviceTypeManifest, advanced);
|
||||
}
|
||||
|
||||
async buildConfigForDeviceType(
|
||||
|
Loading…
x
Reference in New Issue
Block a user