updated user agent
This commit is contained in:
@@ -179,7 +179,7 @@ function determineVersion(version, channel) {
|
||||
function getLatestVersion(version, channel) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const releasesUrl = `${storageUrl}/releases_${osName()}.json`;
|
||||
const rest = new restm.RestClient('setup-go');
|
||||
const rest = new restm.RestClient('flutter-action');
|
||||
const storage = (yield rest.get(releasesUrl)).result;
|
||||
if (!storage) {
|
||||
throw new Error('unable to get latest version');
|
||||
|
||||
Reference in New Issue
Block a user