Skip to content
Permalink
Browse files

fix debug message for announcement semver logic

  • Loading branch information...
DominikGuzei committed May 8, 2019
1 parent 4c561a4 commit 6cdcafec265b341e37ea4cd4bf3535ca96677ad0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/features/announcements/store.js
@@ -125,7 +125,7 @@ export class AnnouncementsStore extends FeatureStore {
// Check if the user has already used current version (= has seen the announcement)
const { currentVersion, lastSeenAnnouncementVersion } = this;
if (semver.gt(currentVersion, lastSeenAnnouncementVersion || '0.0.0')) {
debug(`${currentVersion} < ${lastSeenAnnouncementVersion}: announcement is shown`);
debug(`${currentVersion} > ${lastSeenAnnouncementVersion}: announcement is shown`);
this._showAnnouncement();
}
};

0 comments on commit 6cdcafe

Please sign in to comment.
You can’t perform that action at this time.