Remove unnecessary console logs

This commit is contained in:
Benjamin Toby 2024-10-16 08:34:18 +01:00
parent 285568deb2
commit ed5248a43f
3 changed files with 1 additions and 11 deletions

View File

@ -30,12 +30,6 @@ try {
const options = configFileObject.options;
console.log("firstFolder", firstFolder);
console.log("folders", folders);
console.log("firstFolder", firstFolder);
console.log("isFolders", Boolean(folders?.[0]));
if (firstFile && files?.[0]) {
watchFiles({ files, options });
} else if (firstFolder && folders?.[0]) {

View File

@ -24,8 +24,6 @@ async function watchFolders({ folders, options }) {
}
const dirPath = typeof dir == "string" ? dir : dir.path;
console.log(`Handling dir ${dirPath}`);
if (
(typeof dir == "string" && !fs.existsSync(dirPath)) ||
(typeof dir == "object" &&
@ -78,8 +76,6 @@ async function watchFolders({ folders, options }) {
}
}
console.log(`Watching dir ${dirPath}`);
if (typeof dir == "string") {
sync({ dirPath, dirs, options });

View File

@ -1,6 +1,6 @@
{
"name": "turbosync",
"version": "1.2.0",
"version": "1.2.1",
"module": "index.js",
"scripts": {
"start": "node index.ts",