[skip ci] plugin guard

This commit is contained in:
Brahim Hadriche committed 2026-06-12 15:12:36 -04:00
1 parent c0dce836cf
commit 35b38c7cd8
17 files changed
+97 -15

No files matched your search

+2 -1
View File
@@ -16,6 +16,7 @@ import {
isBrsFile,
} from 'brighterscript';
import path from 'path';
import { exitOnCriticalErrors } from './critical-exit';
const loggingFilePath = path.join('source', 'utils', 'Logging.bs');
const logFunctions = {
@@ -250,5 +251,5 @@ function ${newFunctionName}(${args.join(', ')}) as void
}
export default () => {
return new LoggerPlugin();
return exitOnCriticalErrors(new LoggerPlugin());
};