Skip to content

Commit 291e5c9

Browse files
committed
fix indentation
1 parent d70658c commit 291e5c9

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

lib/server.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -137,30 +137,30 @@ exports.Server = function Server(bsClient, workers) {
137137
if (worker) {
138138
bsClient.takeScreenshot(worker.id,function(error,screenshot){
139139
if(!error && screenshot.url){
140-
console.log('[%s] Screenshot: %s', worker.string, screenshot.url);
140+
console.log('[%s] Screenshot: %s', worker.string, screenshot.url);
141141
}
142142

143-
bsClient.terminateWorker(worker.id, function () {
144-
if (!workers[uuid]) {
145-
return;
146-
}
143+
bsClient.terminateWorker(worker.id, function () {
144+
if (!workers[uuid]) {
145+
return;
146+
}
147147

148-
console.log('[%s] Terminated', worker.string);
148+
console.log('[%s] Terminated', worker.string);
149149

150-
clearTimeout(workers[uuid].activityTimeout);
151-
delete workers[uuid];
150+
clearTimeout(workers[uuid].activityTimeout);
151+
delete workers[uuid];
152152

153-
if (utils.objectSize(workers) === 0) {
154-
console.log("All tests done, failures: %d.", status);
153+
if (utils.objectSize(workers) === 0) {
154+
console.log("All tests done, failures: %d.", status);
155155

156-
if (status > 0) {
157-
status = 1;
158-
}
156+
if (status > 0) {
157+
status = 1;
158+
}
159159

160-
process.exit(status);
161-
}
160+
process.exit(status);
161+
}
162+
});
162163
});
163-
});
164164
}
165165

166166
response.end();

0 commit comments

Comments
 (0)