Comment out debug flag handling in prepareApp
The logic for handling the '--debug' flag and modifying debugPrint has been commented out in prepareApp. This may be for debugging, refactoring, or to temporarily disable suppression of debug output.
This commit is contained in:
parent
7d76ef2829
commit
f1b017a236
|
|
@ -129,12 +129,12 @@ void main(List<String> args) async {
|
|||
}
|
||||
|
||||
Future prepareApp() async {
|
||||
if (!_args.contains("--debug")) {
|
||||
// ignore: avoid_returning_null_for_void
|
||||
debugPrint = (String? message, {int? wrapWidth}) => null;
|
||||
} else {
|
||||
_args.remove("--debug");
|
||||
}
|
||||
// if (!_args.contains("--debug")) {
|
||||
// // ignore: avoid_returning_null_for_void
|
||||
// debugPrint = (String? message, {int? wrapWidth}) => null;
|
||||
// } else {
|
||||
// _args.remove("--debug");
|
||||
// }
|
||||
|
||||
await setupDesktop();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue