Merge "Use zuul/web/static in setup_hook"

This commit is contained in:
Zuul 2018-10-17 05:52:32 +00:00 committed by Gerrit Code Review
commit bad9c43702
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def _build_javascript():
r = subprocess.Popen(['yarn', 'install', '-d'], cwd="web/").wait()
if r:
raise RuntimeError("Yarn install failed")
if not os.path.exists('web/build/index.html'):
if not os.path.exists('zuul/web/static/index.html'):
r = subprocess.Popen(['yarn', 'build'], cwd="web/").wait()
if r:
raise RuntimeError("Yarn build failed")