Fix linting

This commit is contained in:
Elliot DeNolf
2018-05-02 21:55:10 -06:00
parent 399474aa3f
commit 9e26f31128

View File

@@ -21,7 +21,7 @@ class Payload {
newCollection(key) { newCollection(key) {
if (key in this.collections) { if (key in this.collections) {
//TODO: Have discussion about how errors should be handled // TODO: Have discussion about how errors should be handled
return new Error(`${key} already exists in collections`); return new Error(`${key} already exists in collections`);
} }
@@ -30,7 +30,7 @@ class Payload {
getCollection(key) { getCollection(key) {
if (!(key in this.collections)) { if (!(key in this.collections)) {
//TODO: Have discussion about how errors should be handled // TODO: Have discussion about how errors should be handled
return new Error(`${key} does not exist or has not been registered yet`); return new Error(`${key} does not exist or has not been registered yet`);
} }