mirror of
https://github.com/chenasraf/btool.git
synced 2026-05-18 01:48:58 +00:00
fix: don't color default log lines
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## 0.1.3
|
||||
|
||||
- fix: don't color default log lines
|
||||
|
||||
## 0.1.2
|
||||
|
||||
- fix: binary link
|
||||
|
||||
@@ -93,7 +93,3 @@ If you are a developer and want to contribute code, here are some starting tips:
|
||||
4. Create tests for your changes
|
||||
5. Update the relevant documentation (readme, code comments)
|
||||
6. Create a PR on upstream
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
@@ -28,6 +28,10 @@ class Logger {
|
||||
if (logLevelNum[level]! > logLevelNum[this.level]!) {
|
||||
return;
|
||||
}
|
||||
if (fg == Styles.DEFAULT) {
|
||||
write(message);
|
||||
return;
|
||||
}
|
||||
write(colorize(message.toString(), fg: fg));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: btool
|
||||
description: Generic build helper tools for Flutter/Dart such as manipulating version, package name or application ID
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
homepage: 'https://github.com/chenasraf/btool'
|
||||
|
||||
executables:
|
||||
|
||||
Reference in New Issue
Block a user