Skip to content

Commit

Permalink
πŸ› fix a lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed May 1, 2019
1 parent b0164df commit 62212ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/check-publish.js
Expand Up @@ -29,7 +29,7 @@ module.exports = function checkForPublish(context, filePath, targets) {
const allowed = new Set(getAllowModules(context))
const convertPath = getConvertPath(context)
const basedir = path.dirname(packageInfo.filePath)
// eslint-disable-next-line func-style, require-jsdoc
// eslint-disable-next-line func-style
const toRelative = fullPath => {
const retv = path.relative(basedir, fullPath).replace(/\\/gu, "/")
return convertPath(retv)
Expand Down

0 comments on commit 62212ac

Please sign in to comment.