If Gist filename is ABC.js
The url is "https://gist.github.com/<github_id>/<gist_id>#file-abc-js"
The https.get()'s url is "https://gist.github.com/<github_id>/<gist_id>.js?file=abc.js"
But it will get statusCode: 404 because filename case wrong!
url need to be "https://gist.github.com/<github_id>/<gist_id>#file-ABC-js"
maybe can warn user to care about this and add some output to warn user if get 404 statusCode
Sorry about my poor english
If Gist filename is ABC.js
The url is "https://gist.github.com/<github_id>/<gist_id>#file-abc-js"
The https.get()'s url is "https://gist.github.com/<github_id>/<gist_id>.js?file=abc.js"
But it will get statusCode: 404 because filename case wrong!
url need to be "https://gist.github.com/<github_id>/<gist_id>#file-ABC-js"
maybe can warn user to care about this and add some output to warn user if get 404 statusCode
Sorry about my poor english