Skip to content

Commit 7313f92

Browse files
committed
🐛 fix for checking uploading specs
1 parent 75468d8 commit 7313f92

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

bin/helpers/checkUploaded.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const checkUploadedMd5 = (bsConfig, args, instrumentBlocks) => {
126126
const response = await axios.post(options.url, options.body, {
127127
auth: {
128128
username: options.auth.user,
129-
username: options.auth.password
129+
password: options.auth.password
130130
},
131131
headers: options.headers
132132
})

bin/helpers/sync/syncSpecsLogs.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,12 @@ let whileProcess = async (whilstCallback) => {
144144
switch (response.status) {
145145
case 202: // get data here and print it
146146
n = 2
147-
console.log("BODY", response.data)
148147
showSpecsStatus(response.data, 202);
149148
return setTimeout(whilstCallback, timeout * n, null);
150149
case 204: // No data available, wait for some time and ask again
151150
n = 1
152151
return setTimeout(whilstCallback, timeout * n, null);
153152
case 200: // Build is completed.
154-
console.log("HEREEE")
155153
whileLoop = false;
156154
endTime = Date.now();
157155
showSpecsStatus(response.data, 200);

test/unit/bin/commands/info.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ describe("buildInfo", () => {
193193
sinon.assert.calledOnceWithExactly(sendUsageReportStub, bsConfig, args, message, messageType, errorCode, {}, rawArgs);
194194
})
195195
.catch((error) => {
196-
console.log(error)
197196
chai.assert.isNotOk(error, "Promise error");
198197
});
199198
});
@@ -242,7 +241,6 @@ describe("buildInfo", () => {
242241
sinon.assert.calledOnceWithExactly(sendUsageReportStub, bsConfig, args, message, messageType, errorCode, {}, rawArgs);
243242
})
244243
.catch((error) => {
245-
console.log(error)
246244
chai.assert.isNotOk(error, "Promise error");
247245
});
248246
});

test/unit/bin/helpers/build.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ describe("build", () => {
107107
chai.assert.equal(data, "random message");
108108
})
109109
.catch((error) => {
110-
console.log(error)
111110
chai.assert.isNotOk(error, "Promise error");
112111
});
113112
});

0 commit comments

Comments
 (0)