Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Nov 2, 2023
1 parent 2a26c60 commit ba73137
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/ExampleRunner/example-runner-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ if (configuration.examples) {
});
});

// Sort the suggestions based on their similarity and select top N (e.g., top 3 here)
closestExampleNames.sort((a, b) => a.similarity - b.similarity);

let topClosestNames = closestExampleNames
Expand Down Expand Up @@ -237,7 +236,6 @@ if (configuration.examples) {
// If user selected a valid example, run that example
filterExamples[0] = topClosestNames[selectedIndex];
filteredExampleCorrectCase = filterExamples;
// Here you can call some logic to re-evaluate with the new filterExample or you might need to refactor your script to make this efficient.
rl.close();
run();
} else {
Expand Down

0 comments on commit ba73137

Please sign in to comment.