Fix broken spacing

This commit is contained in:
Christopher Hoskin 2018-12-17 19:21:53 +00:00
parent 7a3f1c81bd
commit 3829732494

View file

@ -87,7 +87,7 @@ module.exports = RequestParser =
throw "resource modified date could not be understood: #{resource.modified}" throw "resource modified date could not be understood: #{resource.modified}"
if !resource.url? and !resource.content? if !resource.url? and !resource.content?
throw "all resources should have either a url or content attribute" throw "all resources should have either a url or content attribute"
if resource.content? and typeof resource.content != "string" if resource.content? and typeof resource.content != "string"
throw "content attribute should be a string" throw "content attribute should be a string"
if resource.url? and typeof resource.url != "string" if resource.url? and typeof resource.url != "string"