mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-12 03:33:53 +08:00
4 lines
74 B
JavaScript
4 lines
74 B
JavaScript
|
module.exports = function sign(number) {
|
||
|
return number >= 0 ? 1 : -1;
|
||
|
};
|