github-pages-deploy-action/node_modules/octokit-pagination-methods/lib/deprecate.js
James Ives a5a215d318 Revert
2020-06-06 12:27:02 -04:00

13 lines
224 B
JavaScript

module.exports = deprecate
const loggedMessages = {}
function deprecate (message) {
if (loggedMessages[message]) {
return
}
console.warn(`DEPRECATED (@octokit/rest): ${message}`)
loggedMessages[message] = 1
}