Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
njleonzhang committed Aug 10, 2018
1 parent e4afb7f commit 0c04e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = postcss.plugin('postcss-px-to-viewport', function (options) {
};
});

function getUnit (prop, opts) {
function getUnit(prop, opts) {
return prop.indexOf('font') === -1 ? opts.viewportUnit : opts.fontViewportUnit;
}

Expand Down

0 comments on commit 0c04e28

Please sign in to comment.