Closed aymenae closed 7 months ago
Fixed the way the repository link is constructed by using template literals and applying the trim() method to remove leading and trailing whitespaces.
trim()
Fixed the image link construction by using template literals and applying the trim() method to remove leading and trailing whitespaces.
Resolved the Cheerio dependency issue by updating the import statement for Cheerio to the correct version (1.0.0-rc.12).
See screenshots
Runs locally, when hosted & linked to existing project using gh-pinned-repos the links worked as opposed to using current version
current version; https://snipboard.io/jXabd6.jpg this PR; https://snipboard.io/LdwFVj.jpg
This is my first PR, let me know if i missed anything / could do anything better. Thanks!
New dependencies detected. Learn more about Socket for GitHub ↗︎
+4
Pull Request Summary
Changes Made
Fixed the way the repository link is constructed by using template literals and applying the
trim()
method to remove leading and trailing whitespaces.Fixed the image link construction by using template literals and applying the
trim()
method to remove leading and trailing whitespaces.Resolved the Cheerio dependency issue by updating the import statement for Cheerio to the correct version (1.0.0-rc.12).
Context
See screenshots
Testing
Runs locally, when hosted & linked to existing project using gh-pinned-repos the links worked as opposed to using current version
Screenshots (if applicable)
current version; https://snipboard.io/jXabd6.jpg this PR; https://snipboard.io/LdwFVj.jpg
This is my first PR, let me know if i missed anything / could do anything better. Thanks!