Hans Larsen 696272bd40 fix(@angular/cli): if no global config file found, analytics can be null
This happens if there is no file at all (otherwise it would be undefined). This was
causing an exception and returning false instead of undefined, preventing the
prompt. Now we return undefined in this case.

To be clear, this is because getWorkspace returns null, and the logic makes
analyticsConfig null in this case.
2019-03-25 12:37:05 -07:00
..