fix: Switch converted to Object Literal (#940)

* updating a switch into object literal and fixed a couple linter errors

* added a comment about weird formatting

* style: use lodash get

* fix: pass eslint + puglint + jest
This commit is contained in:
rbtprograms authored and Nicolas Giard committed 2019-08-04 16:31:13 -04:00
1 parent 2142b5f674
commit 0f9ddf1e5d
28 files changed
+82 -45

No files matched your search

+2 -2
View File
@@ -51,7 +51,7 @@ module.exports = {
return {
responseResult: graphHelper.generateSuccess('Telemetry state updated successfully')
}
} catch(err) {
} catch (err) {
return graphHelper.generateError(err)
}
},
@@ -63,7 +63,7 @@ module.exports = {
return {
responseResult: graphHelper.generateSuccess('Telemetry Client ID has been reset successfully')
}
} catch(err) {
} catch (err) {
return graphHelper.generateError(err)
}
}