Skip to content

Commit

Permalink
Declare rangesAreCompatible instead of assigning to var
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitchell committed Sep 21, 2023
1 parent 08ae197 commit c6c9626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var compare = require('spdx-compare')
var parse = require('spdx-expression-parse')
var ranges = require('spdx-ranges')

var rangesAreCompatible = function (first, second) {
function rangesAreCompatible (first, second) {
return (
first.license === second.license ||
ranges.some(function (range) {
Expand Down

0 comments on commit c6c9626

Please sign in to comment.