Fix formatting of generated script to ensure proper command execution
This commit is contained in:
@@ -94,7 +94,7 @@ function setupPreCommit(params: { setupHealthCheck: boolean }) {
|
|||||||
: ``;
|
: ``;
|
||||||
|
|
||||||
const licenseCommand = `pnpm run --filter scripts license`;
|
const licenseCommand = `pnpm run --filter scripts license`;
|
||||||
const fileContent = `#!/bin/bash\n${healthCheckCommands}${licenseCommand}`;
|
const fileContent = `#!/bin/bash\n${healthCheckCommands}\n${licenseCommand}`;
|
||||||
|
|
||||||
// write file
|
// write file
|
||||||
execSync(`echo "${fileContent}" > ${filePath}`, {
|
execSync(`echo "${fileContent}" > ${filePath}`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user