sfc-utils 1.3.29 → 1.3.32

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 +3 -3
  2. package/package.json +1 -1
package/copy/sheets.js CHANGED
@@ -41,20 +41,20 @@ let googleAuth = (project, directory = null, forceStr = false) => {
41
41
  var auth = null;
42
42
  authObj.authenticate({ fallback: false }).then((resp) => {
43
43
  auth = resp;
44
- grabSheets(auth, project, directory, forceStr).then(() => resolve()).catch(() => {
44
+ grabSheets(auth, project, directory, forceStr).catch(() => {
45
45
  // If the first attempt failed, then make another req using the fallback
46
46
  authObj.authenticate({ fallback: true }).then((resp) => {
47
47
  auth = resp;
48
48
  grabSheets(auth, project, directory, forceStr).then(() => resolve());
49
49
  });
50
- });
50
+ }).then(() => resolve());
51
51
  })
52
52
  .catch(() => {
53
53
  // Failure if we fall back but there's no token
54
54
  auth = authObj.task();
55
55
  grabSheets(auth, project, directory, forceStr).then(() => resolve());
56
56
  });
57
- }
57
+ })
58
58
  };
59
59
 
60
60
  let grabSheets = (auth, project, directory, forceStr) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.3.29",
3
+ "version": "1.3.32",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",