Skip to content

Commit 7a60aff

Browse files
Simekjaredh159
authored andcommitted
fix: print - in invalid utility warning if it was present in class
1 parent 51b2e1d commit 7a60aff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/UtilityParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ export default class UtilityParser {
359359
if (style) return style;
360360
}
361361

362-
h.warn(`\`${this.rest}\` unknown or invalid utility`);
362+
h.warn(`\`${this.isNegative ? `-` : ``}${this.rest}\` unknown or invalid utility`);
363363
return null;
364364
}
365365

0 commit comments

Comments
 (0)