Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

koumatsumoto
Copy link
Contributor

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

Closes #1200

@coveralls
Copy link

coveralls commented Jul 28, 2018

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
@@ -57,7 +57,7 @@ export function findModuleFromOptions(
} else if (host.exists(modulePath + '/' + moduleBaseName + '.module.ts')) {
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
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
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.

None yet

3 participants