Skip to content

Commit

Permalink
fix: test issue with npm pack name
Browse files Browse the repository at this point in the history
  • Loading branch information
dnikitop committed Oct 17, 2024
1 parent 24419d4 commit 5bd3007
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test-message-generation-bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ describe('rclnodejs generate-messages binary-script tests', function () {
});

let tgz;
const regex = /^.*rclnodejs-\d+.\d+.\d+.tgz/;
const regex = /^.*rclnodejs-\d+.\d+.\d+.*.tgz/;
for (let file of fs.readdirSync(this.tmpPkg)) {
console.log(file)
if (file.match(regex)) {
tgz = file;
break;
Expand Down

0 comments on commit 5bd3007

Please sign in to comment.