HomePhabricator

package.json/composer.json might not exist!

Description

package.json/composer.json might not exist!

Quibble 0.0.33 failed whenever using --packages-source=vendor since it
does not have a package.json, run_webdriver() failed when checking
whether there is a 'selenium-test' run script.

Make json_has_script() to return False whenever the file does not exist
(which implies there is no script).

Also update variable namel in repo_has_npm_script().

Bug: T229020
Change-Id: I22f071ff6d1c1d0ab168bf3a79358669151ac393

Details

Provenance
hasharAuthored on Jul 25 2019, 4:42 PM
Parents
rQUIBBLEb2f9e3630466: Run node browser tests in each repo
Branches
Unknown
Tags
Unknown
References
tag: 0.0.34
ChangeId
I22f071ff6d1c1d0ab168bf3a79358669151ac393