mirror of
https://github.com/documenso/documenso
synced 2026-04-21 13:27:18 +00:00
fix: add double quote
This commit is contained in:
parent
8afe669978
commit
c463d5a0ed
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
|||
const path = require('path');
|
||||
|
||||
const buildEslintCommand = (filenames) =>
|
||||
`eslint --fix ${filenames.map((f) => path.relative(process.cwd(), f)).join(' ')} `;
|
||||
`eslint --fix ${filenames.map((f) => `"${path.relative(process.cwd(), f)}"`).join(' ')}`;
|
||||
|
||||
const buildPrettierCommand = (filenames) =>
|
||||
`prettier --write ${filenames.map((f) => path.relative(process.cwd(), f)).join(' ')} `;
|
||||
`prettier --write ${filenames.map((f) => `"${path.relative(process.cwd(), f)}"`).join(' ')}`;
|
||||
|
||||
/** @type {import('lint-staged').Config} */
|
||||
module.exports = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue