Skip to content

Commit b2a3a83

Browse files
committed
run Prettier
1 parent dc20f63 commit b2a3a83

File tree

50 files changed

+6036
-4228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+6036
-4228
lines changed

generator/dummyClasses/do.js

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
class ClassName {
2-
/**
3-
*
4-
* @param {module} do DO SDK
5-
* @param {object} options SDK options
6-
*/
7-
constructor(dosdk, dotoken) {
8-
this._DO = dosdk;
9-
this._instance = new this._DO(dotoken);
10-
this._sdkClassName=this._instance.SDKClassName;
11-
}
12-
13-
function() {
14-
return new Promise((resolve, reject) => {
15-
this._sdkClassName.SDKFunctionName()
2+
/**
3+
*
4+
* @param {module} do DO SDK
5+
* @param {object} options SDK options
6+
*/
7+
constructor(dosdk, dotoken) {
8+
this._DO = dosdk;
9+
this._instance = new this._DO(dotoken);
10+
this._sdkClassName = this._instance.SDKClassName;
11+
}
12+
13+
function() {
14+
return new Promise((resolve, reject) => {
15+
this._sdkClassName
16+
.SDKFunctionName()
1617
.then(data => resolve(data))
1718
.catch(err => reject(err));
18-
});
19-
}
19+
});
2020
}
21-
22-
module.exports = ClassName;
21+
}
22+
23+
module.exports = ClassName;

0 commit comments

Comments
 (0)