Skip to content

Commit ad238e3

Browse files
committed
Fix missing code generation
1 parent 487c950 commit ad238e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitsNet/Scripts/Include-GenerateStaticQuantitySourceCode.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ namespace UnitsNet
142142
/// <returns>Information about the quantity and its units.</returns>
143143
public static QuantityInfo GetInfo(QuantityType quantityType)
144144
{
145-
return UnitsHelper.QuantityInfos.First(qi => qi.QuantityType == quantityType);
145+
return Infos.First(qi => qi.QuantityType == quantityType);
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)