Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6064 from trufflesuite/succeed-event
Browse files Browse the repository at this point in the history
Bug fix: re-add event that seems like it was accidentally removed
  • Loading branch information
eggplantzzz authored Jun 1, 2023
2 parents 65c3234 + 8559c5a commit bf3020b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export class VersionRange {
const url = `${urlRoot.replace(/\/+$/, "")}/list.json`;
try {
const response = await axios.get(url, { maxRedirects: 50 });
events.emit("fetchSolcList:succeed");
return response.data;
} catch (error) {
events.emit("fetchSolcList:fail");
Expand Down

0 comments on commit bf3020b

Please sign in to comment.