mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 00:39:49 +00:00
Update index.js
This commit is contained in:
parent
d74cbece73
commit
c3cc74d6e7
@ -39,7 +39,7 @@ if (!backendFiles.length) {
|
||||
const runPrettier = (files, isFront = true) => {
|
||||
const prettierConfigFolder = isFront ? 'front' : 'back';
|
||||
const prettierConfigPath = require.resolve(`./${prettierConfigFolder}/.prettierrc`);
|
||||
console.log({ files, prettierConfigFolder })
|
||||
|
||||
files.forEach(file => {
|
||||
const options = prettier.resolveConfig.sync(file, {
|
||||
config: prettierConfigPath
|
||||
|
Loading…
x
Reference in New Issue
Block a user