fix(schematics): set the approot folder to ''
This commit is contained in:
parent
83bcce183d
commit
eb9f7b2436
@ -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')) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user