mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Fix broken spacing
This commit is contained in:
parent
7a3f1c81bd
commit
3829732494
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue