We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 643b2af commit a07b159Copy full SHA for a07b159
lib/isReady.js
@@ -34,15 +34,15 @@ function isContainerLoggerReady(state) {
34
const isReady = async () => {
35
const containerId = process.argv[2];
36
const state = JSON.parse(readFileSync('./lib/state.json').toString('utf-8'));
37
- let isReady = false;
+ let ready = false;
38
if (containerId) {
39
- isReady = isContainerReady(state, containerId);
+ ready = isContainerReady(state, containerId);
40
} else {
41
- isReady = isContainerLoggerReady(state);
+ ready = isContainerLoggerReady(state);
42
}
43
44
await terminate();
45
- process.exit(isReady ? 0 : 1);
+ process.exit(ready ? 0 : 1);
46
};
47
48
if (require.main === module) {
0 commit comments