Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Jul 17, 2023
1 parent ced9d56 commit 22af422
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/protofier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class Protofier {
private protofyCalculationValue(
value: Object
): proto.Value_Calculation_CalculationValue {
var result = new proto.Value_Calculation_CalculationValue();
const result = new proto.Value_Calculation_CalculationValue();
if (value instanceof SassCalculation) {
result.value = {
case: 'calculation',
Expand Down Expand Up @@ -363,7 +363,7 @@ export class Protofier {
): SassCalculation {
switch (calculation.name) {
case 'calc':
if (calculation.arguments.length != 1) {
if (calculation.arguments.length !== 1) {
throw utils.compilerError(
'Value.Calculation.arguments must have exactly one argument for calc().'
);
Expand All @@ -372,7 +372,7 @@ export class Protofier {
this.deprotofyCalculationValue(calculation.arguments[0])
);
case 'clamp':
if (calculation.arguments.length != 3) {
if (calculation.arguments.length !== 3) {
throw utils.compilerError(
'Value.Calculation.arguments must have exactly 3 arguments for clamp().'
);
Expand Down

0 comments on commit 22af422

Please sign in to comment.