mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 22:28:48 +00:00
remove debug lines
This commit is contained in:
parent
e2e014d9f9
commit
affd1e97c2
1 changed files with 0 additions and 3 deletions
|
@ -3,11 +3,8 @@ import { existsSync, copyFile } from "fs";
|
|||
|
||||
export default function checkAndCopyConfig(config) {
|
||||
const configYaml = join(process.cwd(), "config", config);
|
||||
console.log("config:", configYaml);
|
||||
if (!existsSync(configYaml)) {
|
||||
console.log("does not exist");
|
||||
const configSkeleton = join(process.cwd(), "src", "skeleton", config);
|
||||
console.log("skeleton", configSkeleton);
|
||||
copyFile(configSkeleton, configYaml, (err) => {
|
||||
if (err) {
|
||||
console.log("error copying config", err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue