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

Commit

Permalink
fix(settings): no update notifications for alfa and beta releases
Browse files Browse the repository at this point in the history
  • Loading branch information
moranje committed Dec 15, 2019
1 parent b218e3b commit 1ad3186
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/project/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ export const Command: project.CommandFactory = compose({
json: true
})
.then(response => {
if (response.body.version.match(/alfa|beta/).length > 0) return

if (response.body.version > FILES.workflowConfig.version) {
Notification({
message: `Workflow update available (v${response.body.version})`,
Expand Down

0 comments on commit 1ad3186

Please sign in to comment.