Skip to content

Commit

Permalink
Merge pull request #749 from tidev/node-22-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi authored Feb 6, 2025
2 parents 9906602 + 5c8d514 commit b42e0da
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 56 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@
"yauzl": "3.2.0"
},
"devDependencies": {
"@eslint/js": "9.19.0",
"@reporters/github": "1.7.2",
"@vitest/coverage-istanbul": "3.0.4",
"c8": "10.1.3",
"eslint": "9.18.0",
"eslint": "9.19.0",
"glob": "10.4.5",
"globals": "15.14.0",
"memory-streams": "0.1.3",
Expand Down
96 changes: 43 additions & 53 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ export class CLI {

if (commands[cmdName]) {
desc = commands[cmdName];
commandFile = join(import.meta.url, `../commands/${cmdName}.js`);
commandFile = pathToFileURL(join(fileURLToPath(import.meta.url), `../commands/${cmdName}.js`));
} else if (sdkCommands[cmdName]) {
desc = sdkCommands[cmdName];
commandFile = pathToFileURL(join(this.sdk.path, `cli/commands/${cmdName}.js`));
Expand Down
2 changes: 1 addition & 1 deletion test/commands/ti-sdk.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ describe('ti sdk', () => {
({ exitCode, stdout } = await run(['sdk', 'ls', '-bu', '--json']));
const json = JSON.parse(stdout);
assert(json.branches.branches.includes('master'));
assert(json.branches.branches.includes('12_2_X'));
assert(json.branches.branches.includes('12_6_X'));
assert(json.releases[sdkName]);

assert.strictEqual(exitCode, 0);
Expand Down

0 comments on commit b42e0da

Please sign in to comment.