github-getter
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -21,2 +21,4 @@ 'use strict'; | ||
if (config.getData) { | ||
console.log('>>> reponame', repoName); | ||
console.log('>>> filepath', filePath); | ||
(0, _gHRequest2.default)('/repos/' + repoName + '/contents/' + filePath, function (err, file) { | ||
@@ -23,0 +25,0 @@ if (err) { |
'use strict'; | ||
var _githubGetter = require('github-getter'); | ||
var _gHGetter = require('./gHGetter.js'); | ||
(0, _githubGetter.gHUser)('des-des')({ | ||
(0, _gHGetter.gHUser)('des-des')({ | ||
getRepos: function getRepos(err, repos) { | ||
@@ -19,3 +19,3 @@ return Object.keys(repos).forEach(function (key) { | ||
(0, _githubGetter.gHUser)('dwyl', true)({ | ||
(0, _gHGetter.gHUser)('dwyl', true)({ | ||
getRepos: function getRepos(err, repos) { | ||
@@ -32,3 +32,3 @@ repos.adoro({ | ||
(0, _githubGetter.gHRepo)('des-des/aibox')({ | ||
(0, _gHGetter.gHRepo)('des-des/aibox')({ | ||
getFiles: function getFiles(err, files) { | ||
@@ -35,0 +35,0 @@ files['.babelrc']({ |
{ | ||
"name": "github-getter", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Quick and easy github file retrieval", | ||
"main": "lib/gHGetter.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/des-des/github-getter.git" | ||
}, | ||
"keywords": [ | ||
@@ -7,0 +11,0 @@ "Github", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1
15124
14
388