mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-12-28 05:25:49 +00: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
|
|
}
|