mirror of
https://github.com/danbulant/docker-compose
synced 2026-06-20 07:01:23 +00:00
Allow exitCode to be null and initialize it to null as well
This commit is contained in:
parent
1a0c9af4a6
commit
d13a85bd76
2 changed files with 2 additions and 2 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -63,7 +63,7 @@ interface IDockerComposePushOptions extends IDockerComposeOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IDockerComposeResult {
|
interface IDockerComposeResult {
|
||||||
exitCode: number;
|
exitCode: ?number;
|
||||||
out: string;
|
out: string;
|
||||||
err: string;
|
err: string;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
index.js
2
index.js
|
|
@ -67,7 +67,7 @@ const execCompose = (command, args, options) => new Promise((resolve, reject) =>
|
||||||
});
|
});
|
||||||
|
|
||||||
const result = {
|
const result = {
|
||||||
exitCode: 0,
|
exitCode: null,
|
||||||
err: '',
|
err: '',
|
||||||
out: ''
|
out: ''
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue