Skip to content

Commit

Permalink
revert git-push again
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoydip committed Jul 26, 2020
1 parent 0b2661f commit 20662d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
},
"husky": {
"hooks": {
"pre-push": "npm run all",
"pre-commit": "npm run all"
}
}
Expand Down

0 comments on commit 20662d6

Please sign in to comment.