Skip to content

Commit

Permalink
fix: update repository path for Chrome in dependency utility
Browse files Browse the repository at this point in the history
- Changed the case of the 'google-chrome' repository name to 'chrome' in the getRepoExternalPath function.
- This update ensures consistency in naming conventions and improves the accuracy of the external path retrieval for Chrome.

These changes enhance the utility's functionality by providing a more standardized approach to repository naming.
  • Loading branch information
Marvin Zhang committed Dec 30, 2024
1 parent bd4f0cb commit 0bda66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dependency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const getRepoExternalPath = (repo: DependencyRepo) => {

function getBrowserRepoExternalPath(repo: DependencyRepo) {
switch (repo.name) {
case 'google-chrome':
case 'chrome':
return 'https://www.chromium.org/getting-involved/download-chromium/';
case 'chromedriver':
return 'https://developer.chrome.com/docs/chromedriver/';
Expand Down

0 comments on commit 0bda66d

Please sign in to comment.