Skip to content

Commit bf4e655

Browse files
committed
Reverted ${this} interpolation and added linter ignore, fixes #1
1 parent 0e58c14 commit bf4e655

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/src/ansi_color.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ class AnsiColor {
3636

3737
String call(String msg) {
3838
if (color) {
39-
return '$this$msg$ansiDefault';
39+
// ignore: unnecessary_brace_in_string_interps
40+
return '${this}$msg$ansiDefault';
4041
} else {
4142
return msg;
4243
}

0 commit comments

Comments
 (0)