You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Desktop: Turn old plugin deprecation notices into errors
This commit is contained in:
@@ -77,7 +77,7 @@ export default class JoplinSettings {
|
||||
* Registers a new setting.
|
||||
*/
|
||||
public async registerSetting(key: string, settingItem: SettingItem) {
|
||||
this.plugin_.deprecationNotice('1.8', 'joplin.settings.registerSetting() is deprecated in favour of joplin.settings.registerSettings()');
|
||||
this.plugin_.deprecationNotice('1.8', 'joplin.settings.registerSetting() is deprecated in favour of joplin.settings.registerSettings()', true);
|
||||
await this.registerSettings({ [key]: settingItem });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user