More switch style

This commit is contained in:
Bryan Ashby 2016-08-03 22:43:56 -06:00
parent 33f0553ea9
commit 9af9bfe3d0
3 changed files with 123 additions and 123 deletions

View file

@ -212,13 +212,13 @@ NewScanModule.prototype.mciReady = function(mciData, cb) {
},
function performCurrentStepScan(callback) {
switch(self.currentStep) {
case 'messageConferences' :
self.newScanMessageConference( () => {
callback(null); // finished
});
break;
default : return callback(null);
case 'messageConferences' :
self.newScanMessageConference( () => {
callback(null); // finished
});
break;
default : return callback(null);
}
}
],