Skip to content

Commit 0b7e18e

Browse files
committed
🔇 hide hard reset failed warning
1 parent 9fcde38 commit 0b7e18e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/pull.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = class Pull {
101101
this.logger.info(`[${this.config.repoPath}]#${prNumber} Hard reset successful`)
102102
return true
103103
} catch (e) {
104-
this.logger.warn({ e }, `[${this.config.repoPath}]#${prNumber} Hard reset failed`)
104+
this.logger.info({ e }, `[${this.config.repoPath}]#${prNumber} Hard reset failed`)
105105
}
106106
} else {
107107
let mergeMethod = rule.mergeMethod
@@ -212,7 +212,7 @@ module.exports = class Pull {
212212
})
213213
return pr.data
214214
} catch (e) {
215-
this.logger.warn(e, `[${this.config.repoPath}] Create PR from ${upstream} failed`)
215+
this.logger.info(e, `[${this.config.repoPath}] Create PR from ${upstream} failed`)
216216
return null
217217
}
218218
}

0 commit comments

Comments
 (0)