diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 3c24c0cba..bfc638648 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -4,6 +4,6 @@ if (!process.env.NUKE_BUILD_ASSEMBLY) { module.exports = { '!(*verified|*received).cs': filenames => [`dotnet ${process.env.NUKE_BUILD_ASSEMBLY} lint --lint-files ${filenames.join(' ')}`], - '*.{csproj,targets,props,xml}': filenames => [`prettier --write '${filenames.join(`' '`)}`], - '*.{js,ts,jsx,tsx,json,yml,yaml}': filenames => [`prettier --write '${filenames.join(`' '`)}`], + '*.{csproj,targets,props,xml}': filenames => [`prettier --write '${filenames.join(`' '`)}'`], + '*.{js,ts,jsx,tsx,json,yml,yaml}': filenames => [`prettier --write '${filenames.join(`' '`)}'`], };