sfc-utils 1.4.167 → 1.4.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/copy/sheets.js +4 -0
  2. package/package.json +1 -1
package/copy/sheets.js CHANGED
@@ -166,6 +166,10 @@ const processSheetData = async (
166
166
  majorDimension: "ROWS",
167
167
  });
168
168
  var { values } = response.data;
169
+ if (!values || !values.length) {
170
+ console.log("No data found in sheet", sheet.properties.title);
171
+ return;
172
+ }
169
173
  var header = values.shift();
170
174
  var swapIndexes = [];
171
175
  console.log("Swap type:", typeof languageSwap);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.4.167",
3
+ "version": "1.4.168",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",