Skip to content

Commit 00e3941

Browse files
committed
Follow-up #790
1 parent 9d7efff commit 00e3941

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

scripts/utils/generate.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,6 @@ function generate (spec, common) {
108108
options = {}
109109
}
110110
111-
// promises support
112-
if (callback == null) {
113-
return new Promise((resolve, reject) => {
114-
${safeWords(name)}(params, options, (err, body) => {
115-
err ? reject(err) : resolve(body)
116-
})
117-
})
118-
}
119-
120111
${genRequiredChecks()}
121112
122113
${genUrlValidation(paths, api)}

0 commit comments

Comments
 (0)