We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c8e8f4 commit 1a29afeCopy full SHA for 1a29afe
1 file changed
packages/core/src/formatters/base.ts
@@ -903,7 +903,7 @@ export abstract class BaseFormatter {
903
args.push(match[1] ?? match[2] ?? '');
904
}
905
906
- if (args.length === 0) return variable;
+ if (args.length === 0) return undefined;
907
908
let result = variable;
909
for (const arg of args) {
@@ -968,7 +968,7 @@ export abstract class BaseFormatter {
968
969
970
971
972
973
return variable.filter((v) => !args.includes(v));
974
0 commit comments