Skip to content

Commit b42e0da

Browse files
authored
Merge pull request #749 from tidev/node-22-fix
2 parents 9906602 + 5c8d514 commit b42e0da

File tree

4 files changed

+47
-56
lines changed

4 files changed

+47
-56
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@
3232
"yauzl": "3.2.0"
3333
},
3434
"devDependencies": {
35+
"@eslint/js": "9.19.0",
3536
"@reporters/github": "1.7.2",
3637
"@vitest/coverage-istanbul": "3.0.4",
3738
"c8": "10.1.3",
38-
"eslint": "9.18.0",
39+
"eslint": "9.19.0",
3940
"glob": "10.4.5",
4041
"globals": "15.14.0",
4142
"memory-streams": "0.1.3",

pnpm-lock.yaml

Lines changed: 43 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ export class CLI {
911911

912912
if (commands[cmdName]) {
913913
desc = commands[cmdName];
914-
commandFile = join(import.meta.url, `../commands/${cmdName}.js`);
914+
commandFile = pathToFileURL(join(fileURLToPath(import.meta.url), `../commands/${cmdName}.js`));
915915
} else if (sdkCommands[cmdName]) {
916916
desc = sdkCommands[cmdName];
917917
commandFile = pathToFileURL(join(this.sdk.path, `cli/commands/${cmdName}.js`));

test/commands/ti-sdk.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ describe('ti sdk', () => {
293293
({ exitCode, stdout } = await run(['sdk', 'ls', '-bu', '--json']));
294294
const json = JSON.parse(stdout);
295295
assert(json.branches.branches.includes('master'));
296-
assert(json.branches.branches.includes('12_2_X'));
296+
assert(json.branches.branches.includes('12_6_X'));
297297
assert(json.releases[sdkName]);
298298

299299
assert.strictEqual(exitCode, 0);

0 commit comments

Comments
 (0)