fix(schematics): set the approot folder to ''

This commit is contained in:
vsavkin 2017-10-05 10:11:56 -04:00
parent 83bcce183d
commit eb9f7b2436

View File

@ -9,7 +9,7 @@ function addLibToAngularCliJson(options: Schema): Rule {
'name': options.name, 'name': options.name,
'root': path.join('libs', options.name, options.sourceDir), 'root': path.join('libs', options.name, options.sourceDir),
'test': '../../../test.js', 'test': '../../../test.js',
"appRoot": "" 'appRoot': ''
}; };
if (!host.exists('.angular-cli.json')) { if (!host.exists('.angular-cli.json')) {