From 20662d6a790e055e6df7ba33e03a050220cc722b Mon Sep 17 00:00:00 2001 From: rjoydip Date: Sun, 26 Jul 2020 17:21:46 +0530 Subject: [PATCH] revert git-push again --- dist/index.js | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 6512b49..7a03507 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3473,7 +3473,7 @@ function sheet(sheetId = '') { throw new Error('Need a Google sheet id to load'); else try { - return (((_b = (_a = (yield axios_1.default.get(`https://spreadsheets.google.com/feeds/list/${sheetId}/default/public/values?alt=json`)).data) === null || _a === void 0 ? void 0 : _a.feed) === null || _b === void 0 ? void 0 : _b.entry) || []).map((row) => Object.keys(row) + return ((yield ((_b = (_a = (yield axios_1.default.get(`https://spreadsheets.google.com/feeds/list/${sheetId}/default/public/values?alt=json`)).data) === null || _a === void 0 ? void 0 : _a.feed) === null || _b === void 0 ? void 0 : _b.entry)) || []).map((row) => Object.keys(row) .filter((key) => /^gsx\$/.test(key)) .reduce((obj, key) => { obj[key.slice(4)] = row[key].$t; diff --git a/package.json b/package.json index 014660e..2b03b4f 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ }, "husky": { "hooks": { + "pre-push": "npm run all", "pre-commit": "npm run all" } }