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 ad3866a commit 5680100Copy full SHA for 5680100
lib/logic/api/log.js
@@ -87,9 +87,12 @@ const printFollowFirebaseLogs = async (firebaseAuth, progressJobId) => {
87
jobIdRef.child('steps')
88
.on('child_added', (snapshot) => {
89
const step = snapshot.val();
90
- const prefixSuffix = Array(step.name.length)
91
- .join('=');
92
- console.log(`${prefixSuffix}\nStep: ${step.name}\n${prefixSuffix}`);
+ if (step.name) {
+ const prefixSuffix = Array(step.name.length).join('=');
+ console.log(`${prefixSuffix}\nStep: ${step.name}\n${prefixSuffix}`);
93
+ } else {
94
+ console.log(step);
95
+ }
96
step.ref = snapshot.ref();
97
step.ref.child('logs')
98
.on('child_added', (snapshot) => { // eslint-disable-line
0 commit comments