You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( filesData.toLowerCase( ).includes( check_depGetUnpinnedLeaf.toLowerCase( ) ) )
410
420
{
411
421
addError( "This function is deprecated, use `this.app.workspace.getLeaf( false )` instead" );
412
422
}
423
+
*/
413
424
414
425
/*
415
426
Using inline style
@@ -489,7 +500,7 @@ jobs:
489
500
490
501
if ( bInnerHTML == true )
491
502
{
492
-
addError( `Using \`innerHTML\` is a security risk. Use the DOM API or the Obsidian helper functions: https://docs.obsidian.md/Plugins/User+interface/HTML+elements` );
503
+
addError( `Using \`innerHTML\` is a security risk.` );
493
504
}
494
505
495
506
/*
@@ -498,7 +509,7 @@ jobs:
498
509
499
510
if ( bOuterHTML == true )
500
511
{
501
-
addError( `Using \`outerHTML\` is a security risk. Use the DOM API or the Obsidian helper functions: https://docs.obsidian.md/Plugins/User+interface/HTML+elements` );
512
+
addError( `Using \`outerHTML\` is a security risk.` );
502
513
}
503
514
504
515
/*
@@ -516,7 +527,7 @@ jobs:
516
527
517
528
if ( bFuncFS_Chk1 == true || bFuncFS_Chk2 == true )
518
529
{
519
-
addError( "`fs` import only available from Node.js runtime, this will throw errors for users running Obsidian on mobile" );
530
+
addError( "`fs` import only available from Node.js runtime, this will throw errors for users running on mobile" );
520
531
}
521
532
522
533
/*
@@ -525,7 +536,7 @@ jobs:
525
536
526
537
if ( bFuncFS_ExistsSync == true )
527
538
{
528
-
addError( "`fs` import only available from Node.js runtime, this will throw errors for users running Obsidian on mobile. For `fs.existsSync( )`, utilize Obsidian API -> `this.app.vault.adapter.exists( )`" );
539
+
addError( "`fs` import only available from Node.js runtime, this will throw errors for users running on mobile." );
529
540
}
530
541
531
542
/*
@@ -534,7 +545,7 @@ jobs:
534
545
535
546
if ( bFuncFS_MkdirSync == true )
536
547
{
537
-
addError( "`fs` import only available from Node.js runtime, this will throw errors for users running Obsidian on mobile. For `fs.mkdirSync( )`, utilize Obsidian API -> `this.app.vault.adapter.mkdir( )`" );
548
+
addError( "`fs` import only available from Node.js runtime, this will throw errors for users running on mobile." );
538
549
}
539
550
540
551
/*
@@ -550,18 +561,20 @@ jobs:
550
561
console.log found
551
562
*/
552
563
564
+
/*
553
565
if ( bFuncConsoleLog == true )
554
566
{
555
567
addWarning( "Avoid unnecessary logging or ensure logging only occurs in development environment." );
0 commit comments