Unverified Commit a85ae1d9 authored by Joe Haddad's avatar Joe Haddad
Browse files

False expression should not be in dependencies

parent ee3b788f
4 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file,!1933Add note about installing watchman
Showing with 5 additions and 2 deletions
+5 -2
...@@ -164,8 +164,11 @@ function install(useYarn, dependencies, verbose, isOnline) { ...@@ -164,8 +164,11 @@ function install(useYarn, dependencies, verbose, isOnline) {
args = [ args = [
'add', 'add',
'--exact', '--exact',
isOnline === false && '--offline' ];
].concat(dependencies); if (!isOnline) {
args.push('--offline');
}
[].push.apply(args, dependencies);
if (!isOnline) { if (!isOnline) {
console.log(chalk.yellow('You appear to be offline.')); console.log(chalk.yellow('You appear to be offline.'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment