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

Support scoped packages #93

Merged
merged 1 commit into from
Jul 10, 2017
Merged

Support scoped packages #93

merged 1 commit into from
Jul 10, 2017

Conversation

joscha
Copy link
Contributor

@joscha joscha commented Jul 10, 2017

Fixes #92

@gkushang gkushang merged commit aab494f into gkushang:develop Jul 10, 2017
@gkushang
Copy link
Owner

@joscha thanks for the fix.

@@ -16,6 +16,7 @@ var generateReport = function (options) {
var packageJson = {};
try {
packageJson = packageJsonPath && jsonFile.readFileSync(packageJsonPath, 'utf8');
packageJson.name = packageJson.name.replace('@','__').replace('/','_'); // sanitize scoped packages
Copy link
Owner

Choose a reason for hiding this comment

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

We are sanitizing the string at more than one places; will generalize it & sanitize the suite.name since it's been passed to the HTML templates.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ta!

@joscha joscha deleted the patch-1 branch July 10, 2017 14:56
@joscha
Copy link
Contributor Author

joscha commented Jul 10, 2017

@gkushang is there anything else I can do? Also, would be awesome if you could ping on this ticket when a version with the fix has been released!

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.

2 participants