Skip to content

Commit

Permalink
fix(schematic): correct path for angular project (#20436)
Browse files Browse the repository at this point in the history
fixes #20435
  • Loading branch information
hiepxanh committed Feb 11, 2020
1 parent 61f0fac commit fd9c7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular/src/schematics/add/index.ts
Expand Up @@ -117,7 +117,7 @@ export default function ngAdd(options: IonAddOptions): Rule {
`Ionic Add requires a project type of "application".`
);
}
const sourcePath: Path = join(project.root as Path, project.sourceRoot as Path);
const sourcePath: Path = join(project.sourceRoot as Path);
const rootTemplateSource = apply(url('./files/root'), [
template({ ...options }),
move(sourcePath)
Expand Down

0 comments on commit fd9c7a9

Please sign in to comment.