match ENUM style to others in project
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> (cherry picked from commit a871815) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -149,12 +149,12 @@ export default class WebPlatform extends VectorBasePlatform {
|
||||
currentVersion: this.runningVersion,
|
||||
newVersion: ver,
|
||||
});
|
||||
return updateStateEnum.Ready;
|
||||
return updateStateEnum.READY;
|
||||
}
|
||||
return updateStateEnum.NotAvailable;
|
||||
return updateStateEnum.NOTAVAILABLE;
|
||||
}, (err) => {
|
||||
console.error("Failed to poll for update", err);
|
||||
return updateStateEnum.Error;
|
||||
return updateStateEnum.ERROR;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user