mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
revert: remove formal-library deprecation console.warn from plugin
This commit is contained in:
parent
76aba04ed5
commit
ba1a5cc7e0
1 changed files with 0 additions and 10 deletions
|
|
@ -386,11 +386,6 @@ class PaperForgeStatusView extends ItemView {
|
|||
}
|
||||
|
||||
_fallbackFetchStats(quiet, vp, plugin) {
|
||||
if (!this._fallbackWarned) {
|
||||
console.warn('[PaperForge] formal-library.json fallback is deprecated. ' +
|
||||
'Ensure `paperforge status --json` is available for accurate dashboard data.');
|
||||
this._fallbackWarned = true;
|
||||
}
|
||||
const systemDir = plugin?.settings?.system_dir || 'System';
|
||||
const indexPath = path.join(vp, systemDir, 'PaperForge', 'indexes', 'formal-library.json');
|
||||
|
||||
|
|
@ -499,11 +494,6 @@ class PaperForgeStatusView extends ItemView {
|
|||
|
||||
/* ── Index Loading (D-11, D-17, D-19) ── */
|
||||
_loadIndex() {
|
||||
if (!this._fallbackWarned) {
|
||||
console.warn('[PaperForge] formal-library.json fallback is deprecated. ' +
|
||||
'Ensure `paperforge status --json` is available for accurate dashboard data.');
|
||||
this._fallbackWarned = true;
|
||||
}
|
||||
const vp = this.app.vault.adapter.basePath;
|
||||
const plugin = this.app.plugins.plugins['paperforge'];
|
||||
const systemDir = plugin?.settings?.system_dir || 'System';
|
||||
|
|
|
|||
Loading…
Reference in a new issue