File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function sortReposByContributionsCount(repoContributionMappingArray){
200200 * @param {Array } contributors List of contributors details with their contributions metrics
201201 * @param {Object } options
202202 * @param {string } options.archiveFolder where to save the final content
203- * @param {string } options.archiveFileName the name of the archive file, the content will be overwritten if it exists already
203+ * @param {string } options.archiveFileName the name of the archive file, the content will be appended if it exists already
204204 */
205205function writeContributorLeaderboardToFile ( contributors , options = { } ) {
206206 if ( ! contributors || contributors . length < 1 ) {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ describe('index.js', function() {
1515 let contributorsHandlesString = await OCK . contributors . github . archive ( contributorsFixture . VALID_REPO_OWNER ) ;
1616 assert . isNotNull ( contributorsHandlesString ) ;
1717 expect ( contributorsHandlesString ) . to . be . not . empty ;
18- expect ( str ) . to . include ( '@' ) ;
18+ expect ( contributorsHandlesString ) . to . include ( '@' ) ;
1919 // expect(str).to.include(',');
2020 } )
2121 } )
You can’t perform that action at this time.
0 commit comments