Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ export class GithubProviderClient extends BaseGitProviderClient {
`/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/commits?${qs.toString()}`,
);

this.ensureOk(status, "Failed to list query versions.");

const commits = Array.isArray(json) ? json : [];
return commits
.map((c) => {
Expand Down
1 change: 0 additions & 1 deletion test/fix-esm-imports.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ function rewriteSource(source, filePath) {
/(\bfrom\s+["'])(\.\.?\/.+?)(["'])/g,
(match, prefix, spec, suffix) => {
if (!shouldRewrite(spec)) return match;
const candidate = path.join(path.dirname(filePath), spec + ".js");
return prefix + spec + ".js" + suffix;
},
);
Expand Down