You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/05/15 01:04:26 UTC

[GitHub] [cordova-docs] dblotsky commented on a change in pull request #994: Improve ESLint setup and fix linting errors

dblotsky commented on a change in pull request #994: Improve ESLint setup and fix linting errors
URL: https://github.com/apache/cordova-docs/pull/994#discussion_r284054256
 
 

 ##########
 File path: tools/bin/fetch_docs.js
 ##########
 @@ -94,7 +87,7 @@ function getFetchedFileConfig (entry) {
 
     // complete src config
     if (!srcConfig.packageName) {
-        srcConfig.packageName = packageNameFromRepoName(srcConfig.repoName);
+        srcConfig.packageName = srcConfig.repoName.split('/')[1];
 
 Review comment:
   It is important for this transformation to have a name for readability. Why the removal?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org