一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
23 行
666 B
JavaScript
23 行
666 B
JavaScript
// Allows referencing the Joplin global:
|
|
/* eslint-disable no-undef */
|
|
|
|
// Allows the `joplin-manifest` block comment:
|
|
/* eslint-disable multiline-comment-style */
|
|
|
|
/* joplin-manifest:
|
|
{
|
|
"id": "org.joplinapp.plugins.example.crashBeforeRegister",
|
|
"manifest_version": 1,
|
|
"app_min_version": "3.1",
|
|
"name": "Crash Before Register",
|
|
"description": "Plugin that crashes before calling register()",
|
|
"version": "1.0.0",
|
|
"author": "",
|
|
"homepage_url": "https://joplinapp.org"
|
|
}
|
|
*/
|
|
|
|
// Crash before calling joplin.plugins.register()
|
|
// This tests the fix for https://github.com/laurent22/joplin/issues/12793
|
|
throw new Error('Simulated plugin crash before register()');
|