mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-28 01:01:03 -05:00
12 lines
224 B
JavaScript
12 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
|
|
}
|