mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
![]() |
const { exec } = require('child_process');
|
||
|
|
||
|
if (process.env.NODE_ENV !== 'CI') {
|
||
|
exec('npx husky install', (error, stdout, stderr) => {
|
||
|
if (error) {
|
||
|
console.error(`exec error: ${error}`);
|
||
|
return;
|
||
|
}
|
||
|
console.log(`stdout: ${stdout}`);
|
||
|
console.error(`stderr: ${stderr}`);
|
||
|
});
|
||
|
}
|