mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a59f6249d4
commit
286c0f3db6
@ -95,10 +95,9 @@ class Check(Command):
|
|||||||
errors = True
|
errors = True
|
||||||
self.report_errors(w)
|
self.report_errors(w)
|
||||||
else:
|
else:
|
||||||
from calibre.utils.serve_coffee import compile_coffeescript
|
from calibre.utils.serve_coffee import check_coffeescript
|
||||||
try:
|
try:
|
||||||
with open(f, 'rb') as stream:
|
check_coffeescript(f)
|
||||||
compile_coffeescript(stream.read(), f)
|
|
||||||
except:
|
except:
|
||||||
errors = True
|
errors = True
|
||||||
if errors:
|
if errors:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user