mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
refactor: Upgrade to Prettier 3 (no-changelog) (#6947)
Supersedes https://github.com/n8n-io/n8n/pull/6937 Excluding fixtures and test workflow JSONs to avoid having to update tests.
This commit is contained in:
@@ -4,7 +4,7 @@ import fs from 'fs';
|
||||
import path from 'path';
|
||||
import { execSync } from 'child_process';
|
||||
|
||||
const prettier = path.resolve('node_modules', 'prettier', 'bin-prettier.js');
|
||||
const prettier = path.resolve('node_modules', '.bin', 'prettier');
|
||||
|
||||
if (!fs.existsSync(prettier)) {
|
||||
throw new Error(
|
||||
|
||||
Reference in New Issue
Block a user