You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Desktop: Turn old plugin deprecation notices into errors
This commit is contained in:
@ -54,7 +54,7 @@ export default class JoplinPlugins {
|
||||
* @deprecated Use joplin.contentScripts.register()
|
||||
*/
|
||||
public async registerContentScript(type: ContentScriptType, id: string, scriptPath: string) {
|
||||
this.plugin.deprecationNotice('1.8', 'joplin.plugins.registerContentScript() is deprecated in favour of joplin.contentScripts.register()');
|
||||
this.plugin.deprecationNotice('1.8', 'joplin.plugins.registerContentScript() is deprecated in favour of joplin.contentScripts.register()', true);
|
||||
return this.plugin.registerContentScript(type, id, scriptPath);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user