@@ -324,7 +324,7 @@ export class Protofier {
324324 } ) ;
325325
326326 default :
327- throw utils . compilerError ( `Unknown color space "${ color . space } ". ` ) ;
327+ throw utils . compilerError ( `Unknown color space "${ color . space } "` ) ;
328328 }
329329 }
330330
@@ -394,7 +394,7 @@ export class Protofier {
394394
395395 case 'hostFunction' :
396396 throw utils . compilerError (
397- 'The compiler may not send Value.host_function. ' ,
397+ 'The compiler may not send Value.host_function' ,
398398 ) ;
399399
400400 case 'compilerMixin' :
@@ -454,7 +454,7 @@ export class Protofier {
454454 case 'calc' :
455455 if ( calculation . arguments . length !== 1 ) {
456456 throw utils . compilerError (
457- 'Value.Calculation.arguments must have exactly one argument for calc(). ' ,
457+ 'Value.Calculation.arguments must have exactly one argument for calc()' ,
458458 ) ;
459459 }
460460 return SassCalculation . calc (
@@ -466,7 +466,7 @@ export class Protofier {
466466 calculation . arguments . length > 3
467467 ) {
468468 throw utils . compilerError (
469- 'Value.Calculation.arguments must have 1 to 3 arguments for clamp(). ' ,
469+ 'Value.Calculation.arguments must have 1 to 3 arguments for clamp()' ,
470470 ) ;
471471 }
472472 return SassCalculation . clamp (
@@ -481,7 +481,7 @@ export class Protofier {
481481 case 'min' :
482482 if ( calculation . arguments . length === 0 ) {
483483 throw utils . compilerError (
484- 'Value.Calculation.arguments must have at least 1 argument for min(). ' ,
484+ 'Value.Calculation.arguments must have at least 1 argument for min()' ,
485485 ) ;
486486 }
487487 return SassCalculation . min (
@@ -490,15 +490,15 @@ export class Protofier {
490490 case 'max' :
491491 if ( calculation . arguments . length === 0 ) {
492492 throw utils . compilerError (
493- 'Value.Calculation.arguments must have at least 1 argument for max(). ' ,
493+ 'Value.Calculation.arguments must have at least 1 argument for max()' ,
494494 ) ;
495495 }
496496 return SassCalculation . max (
497497 calculation . arguments . map ( this . deprotofyCalculationValue ) ,
498498 ) ;
499499 default :
500500 throw utils . compilerError (
501- `Value.Calculation.name "${ calculation . name } " is not a recognized calculation type. ` ,
501+ `Value.Calculation.name "${ calculation . name } " is not a recognized calculation type` ,
502502 ) ;
503503 }
504504 }
0 commit comments