Skip to content

Commit

Permalink
fix issue cwsdigital#4 - correct var option to options
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispymm committed Sep 17, 2021
1 parent 1fc07fc commit f89ddc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
tags
.idea
4 changes: 2 additions & 2 deletions lib/textSizes.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = function({addUtilities, addBase, e, theme, options}) {
const absStep = Math.abs(stepNum);

if(baseIndex === -1) {
throw `Could not find baseStep: '${option.baseTextSize}' in the textSizes config.`;
throw `Could not find baseStep: '${options.baseTextSize}' in the textSizes config.`;
}

if( stepNum == 0 ) {
Expand Down Expand Up @@ -81,7 +81,7 @@ module.exports = function({addUtilities, addBase, e, theme, options}) {
const absStep = Math.abs(stepNum);

if(baseIndex === -1) {
throw `Could not find baseStep: '${option.baseTextSize}' in the textSizes config.`;
throw `Could not find baseStep: '${options.baseTextSize}' in the textSizes config.`;
}


Expand Down

0 comments on commit f89ddc7

Please sign in to comment.