Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Commit 1f13db0

Browse files
committed
Finished Version migrations
1 parent d857298 commit 1f13db0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/storage.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default class Storage {
132132
snippet.setVersion(Util.getPackageVersion());
133133
snippet.setUID(Util.generateUID({
134134
unique: true,
135-
tester: storage.testFile,
135+
tester: _this.testFile,
136136
timeout: 25,
137137
length: 20,
138138
prefix: 'sn',
@@ -144,8 +144,9 @@ export default class Storage {
144144
changed++;
145145
}
146146
});
147+
migrated += '\n\nHappy Coding :)';
147148
if(changed > 0) {
148-
atom.notifications.addInfo('Successfully migrated snippets within local storage to newer version.', {detail: migrated});
149+
atom.notifications.addSuccess('Successfully migrated snippets to newer version.', {detail: migrated});
149150
}
150151
}
151152
}

0 commit comments

Comments
 (0)