@pulumi/github 6.15.0-alpha.1784702826 → 6.15.0-alpha.1784875555

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/getTree.d.ts CHANGED
@@ -12,9 +12,9 @@ import * as outputs from "./types/output";
12
12
  * const _this = github.getRepository({
13
13
  * name: "example",
14
14
  * });
15
- * const thisGetBranch = Promise.all([_this, _this]).then(([_this, _this1]) => github.getBranch({
15
+ * const thisGetBranch = _this.then(_this => github.getBranch({
16
16
  * branch: _this.defaultBranch,
17
- * repository: _this1.name,
17
+ * repository: _this.name,
18
18
  * }));
19
19
  * const thisGetTree = Promise.all([_this, thisGetBranch]).then(([_this, thisGetBranch]) => github.getTree({
20
20
  * recursive: false,
@@ -70,9 +70,9 @@ export interface GetTreeResult {
70
70
  * const _this = github.getRepository({
71
71
  * name: "example",
72
72
  * });
73
- * const thisGetBranch = Promise.all([_this, _this]).then(([_this, _this1]) => github.getBranch({
73
+ * const thisGetBranch = _this.then(_this => github.getBranch({
74
74
  * branch: _this.defaultBranch,
75
- * repository: _this1.name,
75
+ * repository: _this.name,
76
76
  * }));
77
77
  * const thisGetTree = Promise.all([_this, thisGetBranch]).then(([_this, thisGetBranch]) => github.getTree({
78
78
  * recursive: false,
package/getTree.js CHANGED
@@ -40,9 +40,9 @@ const utilities = __importStar(require("./utilities"));
40
40
  * const _this = github.getRepository({
41
41
  * name: "example",
42
42
  * });
43
- * const thisGetBranch = Promise.all([_this, _this]).then(([_this, _this1]) => github.getBranch({
43
+ * const thisGetBranch = _this.then(_this => github.getBranch({
44
44
  * branch: _this.defaultBranch,
45
- * repository: _this1.name,
45
+ * repository: _this.name,
46
46
  * }));
47
47
  * const thisGetTree = Promise.all([_this, thisGetBranch]).then(([_this, thisGetBranch]) => github.getTree({
48
48
  * recursive: false,
@@ -73,9 +73,9 @@ exports.getTree = getTree;
73
73
  * const _this = github.getRepository({
74
74
  * name: "example",
75
75
  * });
76
- * const thisGetBranch = Promise.all([_this, _this]).then(([_this, _this1]) => github.getBranch({
76
+ * const thisGetBranch = _this.then(_this => github.getBranch({
77
77
  * branch: _this.defaultBranch,
78
- * repository: _this1.name,
78
+ * repository: _this.name,
79
79
  * }));
80
80
  * const thisGetTree = Promise.all([_this, thisGetBranch]).then(([_this, thisGetBranch]) => github.getTree({
81
81
  * recursive: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/github",
3
- "version": "6.15.0-alpha.1784702826",
3
+ "version": "6.15.0-alpha.1784875555",
4
4
  "description": "A Pulumi package for creating and managing github cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "github",
26
- "version": "6.15.0-alpha.1784702826"
26
+ "version": "6.15.0-alpha.1784875555"
27
27
  }
28
28
  }