mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 10:01:34 +00:00
Resolve review comments
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
557824d2d1
commit
8fc3073634
9 changed files with 67 additions and 65 deletions
|
@ -98,8 +98,10 @@ export class BuildahCli implements Buildah {
|
|||
core.debug("commit");
|
||||
core.debug(container);
|
||||
core.debug(newImageName);
|
||||
const args: string[] = [ "commit", ...BuildahCli.getImageFormatOption(useOCI),
|
||||
"--squash", container, newImageName ];
|
||||
const args: string[] = [
|
||||
"commit", ...BuildahCli.getImageFormatOption(useOCI),
|
||||
"--squash", container, newImageName,
|
||||
];
|
||||
return this.execute(args);
|
||||
}
|
||||
|
||||
|
@ -130,10 +132,10 @@ export class BuildahCli implements Buildah {
|
|||
finalExecOptions.ignoreReturnCode = true; // the return code is processed below
|
||||
|
||||
finalExecOptions.listeners = {
|
||||
stdline: (line) : void => {
|
||||
stdline: (line): void => {
|
||||
stdout += line + "\n";
|
||||
},
|
||||
errline: (line) :void => {
|
||||
errline: (line):void => {
|
||||
stderr += line + "\n";
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue