[skip ci] plugin guard
This commit is contained in:
1 parent
c0dce836cf
commit
35b38c7cd8
17 files changed
+97
-15
No files matched your search
@@ -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());
|
||||
};
|
||||
Reference in new issue
Block a user