Skip to content

Commit

Permalink
Fix bcd.getVersions().
Browse files Browse the repository at this point in the history
  • Loading branch information
jmedley committed Apr 2, 2024
1 parent f4ca515 commit 9cc531e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bcd.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ class BCD {
versions.push('Not supported');
}
}
return versions.join(', ');
// TODO: Figure out whether this needs to return a string or an array.
// return versions.join(', ');
return versions;
}

getBrowsers(key, trunk = 'api') {
Expand Down

0 comments on commit 9cc531e

Please sign in to comment.