Fix broken spacing
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user