Skip to content

feat(schematics): display provided path when displaying an error#1208

Merged
brandonroberts merged 2 commits into
ngrx:masterfrom
koumatsumoto:display-provided-path-when-displaying-an-error
Jul 29, 2018
Merged

feat(schematics): display provided path when displaying an error#1208
brandonroberts merged 2 commits into
ngrx:masterfrom
koumatsumoto:display-provided-path-when-displaying-an-error

Conversation

@koumatsumoto

Copy link
Copy Markdown
Contributor

Update error messages in schematics and schematics-core modules.
Please see the relavant issue.

Closes #1200

@coveralls

coveralls commented Jul 28, 2018

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 88.359% when pulling bcd83d3 on kouMatsumoto:display-provided-path-when-displaying-an-error into 35a4848 on ngrx:master.

@koumatsumoto koumatsumoto force-pushed the display-provided-path-when-displaying-an-error branch from 68d9729 to e4488d9 Compare July 28, 2018 02:34
@koumatsumoto koumatsumoto force-pushed the display-provided-path-when-displaying-an-error branch from e4488d9 to 66f9ba6 Compare July 28, 2018 02:37
return normalize(modulePath + '/' + moduleBaseName + '.module.ts');
} else {
throw new Error('Specified module does not exist');
throw new Error(`Specified module path ${modulePath} does not exist`);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run yarn copy:schematics after modifying files in the schematics-core folder so the changes are copied to the other packages.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand and additionally commit its changes.
Please continue your review.

@brandonroberts brandonroberts changed the title feat(Schematics): display provided path when displaying an error feat(cchematics): display provided path when displaying an error Jul 29, 2018
@brandonroberts brandonroberts changed the title feat(cchematics): display provided path when displaying an error feat(schematics): display provided path when displaying an error Jul 29, 2018
@brandonroberts brandonroberts merged commit 91cc6ed into ngrx:master Jul 29, 2018
@koumatsumoto koumatsumoto deleted the display-provided-path-when-displaying-an-error branch September 2, 2018 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants