Apply new code format standard (#217)

This commit is contained in:
Chenlei Hu
2024-07-25 10:10:18 -04:00
committed by GitHub
parent 19c70d95d3
commit e179f75387
121 changed files with 11898 additions and 11983 deletions

View File

@@ -1,14 +1,14 @@
import { copy } from "fs-extra";
import { config } from "dotenv";
config();
import { copy } from 'fs-extra'
import { config } from 'dotenv'
config()
const sourceDir = "./dist";
const targetDir = process.env.DEPLOY_COMFYUI_DIR;
const sourceDir = './dist'
const targetDir = process.env.DEPLOY_COMFYUI_DIR
copy(sourceDir, targetDir)
.then(() => {
console.log(`Directory copied successfully! ${sourceDir} -> ${targetDir}`);
console.log(`Directory copied successfully! ${sourceDir} -> ${targetDir}`)
})
.catch((err) => {
console.error("Error copying directory:", err);
});
console.error('Error copying directory:', err)
})