Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Apr 27, 2020
1 parent f66967b commit 34444f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ const ruleFunction = (properties, options, context = {}) => (root, result) => {
}

// walk through all declarations filtered by configured properties
root.walkDecls(filterDesls)
root.walkDecls(filterDecl)

/**
* Filter declarations for matching properties and expand shorthand properties.
*
* @callback
* @param {object} node - A Declaration-Node from PostCSS AST-Parser.
*/
function filterDesls(node) {
function filterDecl(node) {
const { value: originalValue, prop: originalProp } = node

// skip variable declarations
Expand Down

0 comments on commit 34444f0

Please sign in to comment.