mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-19 04:18:32 +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 {
|
||||
exitCode: number;
|
||||
exitCode: ?number;
|
||||
out: string;
|
||||
err: string;
|
||||
}
|
||||
|
|
|
|||
2
index.js
2
index.js
|
|
@ -67,7 +67,7 @@ const execCompose = (command, args, options) => new Promise((resolve, reject) =>
|
|||
});
|
||||
|
||||
const result = {
|
||||
exitCode: 0,
|
||||
exitCode: null,
|
||||
err: '',
|
||||
out: ''
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue