Skip to content

Commit

Permalink
fix(hex): fix operators list
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Dec 29, 2024
1 parent 8d31e5c commit f8499ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/versioning/hex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function npm2hex(input: string): string {
.map((str) => str.trim())
.filter((str) => str !== '');
let output = '';
const operators = ['^', '=', '>', '<', '<=', '>=', '~'];
const operators = ['^', '=', '>', '<', '<=', '>=', '~>'];
for (let i = 0; i < res.length; i += 1) {
if (i === res.length - 1) {
output += res[i];
Expand Down

0 comments on commit f8499ce

Please sign in to comment.