Skip to content

Commit

Permalink
style: fix js
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed May 1, 2024
1 parent 7692507 commit b012e1a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tools/stylelint.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ const { PACKAGE_ROOT } = require('../utils/paths.js')
exports.stylelint = ({ files = [], apply = false, callback }) => {
const cmd = 'stylelint'
const cwd = PACKAGE_ROOT
const args = [
...(apply ? ['--fix'] : []),
...files,
]
const args = [...(apply ? ['--fix'] : []), ...files]

bin(cmd, { args, cwd }, callback)
}

0 comments on commit b012e1a

Please sign in to comment.