Skip to content

Commit b680a65

Browse files
CopilotMathiasVDA
andauthored
fix: remove unused variables flagged in code review (#105)
* Initial plan * fix: remove unused variables from code review Co-authored-by: MathiasVDA <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: MathiasVDA <[email protected]>
1 parent de482b4 commit b680a65

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/yasgui/src/queryManagement/backends/GithubProviderClient.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ export class GithubProviderClient extends BaseGitProviderClient {
260260
`/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/commits?${qs.toString()}`,
261261
);
262262

263+
this.ensureOk(status, "Failed to list query versions.");
264+
263265
const commits = Array.isArray(json) ? json : [];
264266
return commits
265267
.map((c) => {

test/fix-esm-imports.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ function rewriteSource(source, filePath) {
3636
/(\bfrom\s+["'])(\.\.?\/.+?)(["'])/g,
3737
(match, prefix, spec, suffix) => {
3838
if (!shouldRewrite(spec)) return match;
39-
const candidate = path.join(path.dirname(filePath), spec + ".js");
4039
return prefix + spec + ".js" + suffix;
4140
},
4241
);

0 commit comments

Comments
 (0)