Skip to content

Commit 597bbfc

Browse files
committed
chore: fix lint errors
1 parent 08306b0 commit 597bbfc

File tree

4 files changed

+498
-503
lines changed

4 files changed

+498
-503
lines changed

src/baas/cdn/index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
const { Capi } = require('@tencent-sdk/capi')
22
const { waitResponse } = require('@ygkit/request')
33
const { AddCdnHost, SetHttpsInfo, UpdateCdnConfig, OfflineHost, DeleteCdnHost } = require('./apis')
4-
const {
5-
TIMEOUT,
6-
formatCache,
7-
formatRefer,
8-
getCdnByHost,
9-
getPathContent,
10-
waitForNotStatus
11-
} = require('./utils')
4+
const { TIMEOUT, formatCache, formatRefer, getCdnByHost, getPathContent } = require('./utils')
125

136
class Cdn {
147
constructor(credentials = {}) {

src/baas/cns/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,10 @@ class CnsUtils {
183183
}
184184

185185
async remove(inputs = {}) {
186-
187186
const deleteList = inputs.deleteList || []
188187

189188
if (deleteList.length > 0) {
190-
console.log(
191-
`Deleting records which deployed by this project, but not in this records list. `
192-
)
189+
console.log(`Deleting records which deployed by this project, but not in this records list. `)
193190
for (let recordNum = 0; recordNum < deleteList.length; recordNum++) {
194191
console.log(
195192
`Deleting record ${deleteList[recordNum].subDomain} ${deleteList[recordNum].recordId} `

0 commit comments

Comments
 (0)