Format everything (#211)

This commit is contained in:
Chenlei Hu
2024-07-23 15:40:54 -04:00
committed by GitHub
parent 648e52e39c
commit 1b7db43f8a
25 changed files with 1014 additions and 526 deletions

View File

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