We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5430d01 + 3a20771 commit a99fb34Copy full SHA for a99fb34
1 file changed
src/buildx/bake.ts
@@ -77,7 +77,7 @@ export class Bake {
77
silent: true
78
}).then(res => {
79
if (res.stderr.length > 0 && res.exitCode != 0) {
80
- throw new Error(res.stderr);
+ throw new Error(`cannot parse bake definitions: ${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`);
81
}
82
return <BakeDefinition>JSON.parse(res.stdout.trim());
83
});
0 commit comments