summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 37ca56d..cc0a3b0 100644
--- a/setup.py
+++ b/setup.py
@@ -75,7 +75,8 @@ class Check(Command):
['python', '-m', 'CoverageTestRunner',
'--ignore-missing-from=without-tests'],
stdout=None, stderr=None)
- os.remove('.coverage')
+ if os.path.exists('.coverage'):
+ os.remove('.coverage')
def run_yarns(self):
cliapp.runcmd(