Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Updated index.js to lowercase packageName when fetching from v3-flatc…
Browse files Browse the repository at this point in the history
…ontiner
  • Loading branch information
gonace committed Mar 10, 2023
1 parent 44239dc commit 4c5333f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Action {

console.log(`Package Name: ${this.packageName}`)

https.get(`${this.nugetSource}/v3-flatcontainer/${this.packageName}/index.json`, res => {
https.get(`${this.nugetSource}/v3-flatcontainer/${this.packageName.toLowerCase()}/index.json`, res => {
let body = ""

if (res.statusCode == 404)
Expand Down

0 comments on commit 4c5333f

Please sign in to comment.