diff --git a/src/Lib/Diagnostics/Format/diagnose.ts b/src/Lib/Diagnostics/Format/diagnose.ts index 5b1a410..03f1578 100644 --- a/src/Lib/Diagnostics/Format/diagnose.ts +++ b/src/Lib/Diagnostics/Format/diagnose.ts @@ -17,6 +17,13 @@ export function format_diagnose_path(pack: Pack, uri: string, diagnoser: Diagnos const relpath = uri.slice(index + length); + if (relpath.startsWith('volumes/')) diagnoser.add( + 0, + `Volume files have been removed`, + DiagnosticSeverity.error, + "behaviorpack.volumes.deprecated" + ); + if (relpath.length > LengthFromRoot) { diagnoser.add( 0,