File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# Changes Logs
22
3+ ## v1.0.2
4+
5+ - Improved the output of ` $.or ` and ` $.and ` .
6+
37## v1.0.1
48
59- Fixed lack of positive expression when ` any ` or ` true ` is used.
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ implements C.ILanguageBuilder {
110110 return "true" ;
111111 }
112112
113- conditions = this . _dereplicate ( conditions ) ;
113+ conditions = this . _dereplicate ( conditions . filter ( ( x ) => x === "false" ) ) ;
114114
115115 if ( ! conditions . length ) {
116116
@@ -132,7 +132,7 @@ implements C.ILanguageBuilder {
132132 return "false" ;
133133 }
134134
135- conditions = this . _dereplicate ( conditions ) ;
135+ conditions = this . _dereplicate ( conditions . filter ( ( x ) => x === "true" ) ) ;
136136
137137 if ( ! conditions . length ) {
138138
You can’t perform that action at this time.
0 commit comments