Adding logs

This commit is contained in:
Shivam Gupta
2021-03-17 12:13:33 +05:30
parent 6c8cb3db27
commit b32bc6e2d6
2 changed files with 4 additions and 0 deletions

View File

@ -130,6 +130,8 @@ function downloadHelm(version) {
} }
function getLatestHelmVersionFor(type) { function getLatestHelmVersionFor(type) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
console.log("Running graphql");
console.log(type);
const versions = yield graphql_1.graphql(` const versions = yield graphql_1.graphql(`
repository(name:"helm" repository(name:"helm"
owner:"helm") { owner:"helm") {

View File

@ -107,6 +107,8 @@ async function downloadHelm(version: string): Promise<string> {
} }
async function getLatestHelmVersionFor(type) { async function getLatestHelmVersionFor(type) {
console.log("Running graphql")
console.log(type)
const versions = await graphql( const versions = await graphql(
` `
repository(name:"helm" repository(name:"helm"