backend-manager 3.2.65 → 3.2.66

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "3.2.65",
3
+ "version": "3.2.66",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -30,8 +30,6 @@ Module.prototype.main = function () {
30
30
  // Set defaults
31
31
  const githubUser = get(self.Manager.config, 'github.user');
32
32
  const githubKey = get(self.Manager.config, 'github.key');
33
- const filePath = poster.removeDirDot(finalPost.path);
34
- const fileContent = finalPost.content;
35
33
 
36
34
  // Save to disk OR commit
37
35
  poster.onDownload = function (meta) {
@@ -76,6 +74,10 @@ Module.prototype.main = function () {
76
74
  // assistant.error(`Failed to ping google: ${e}`);
77
75
  // }
78
76
 
77
+ // Set file path and content
78
+ const filePath = poster.removeDirDot(finalPost.path);
79
+ const fileContent = finalPost.content;
80
+
79
81
  // Save post OR commit
80
82
  await self.createFile(githubUser, repoInfo.user, repoInfo.name, githubKey, filePath, fileContent)
81
83
  .then(() => {