Skip to content

Commit

Permalink
remove consolelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmachado committed Dec 4, 2023
1 parent 7c2897e commit c0bd07b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/database/businessRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const SQLRepository = require("./SQLRepository");
class BusinessRepository {

constructor(app) {
console.log("BusinessRepository constructor")
if(!app) {
throw new Error("BusinessRepository: app is not defined");
}
Expand All @@ -24,7 +23,6 @@ class BusinessRepository {
}

static getInstance(app) {
console.log("calling getInstance from businessRepository");
if (!BusinessRepository._instance) {

BusinessRepository._instance = new BusinessRepository(app);
Expand Down
2 changes: 0 additions & 2 deletions src/database/systemRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const SQLRepository = require("./SQLRepository");

class SystemRepository {
constructor(app) {
console.log("SystemRepository constructor")
if(!app) {
throw new Error("SystemRepository: app is not defined");
}
Expand All @@ -21,7 +20,6 @@ class SystemRepository {
}

static getInstance(app) {
console.log("calling getInstance from systemRepository");
if (!SystemRepository._instance) {
SystemRepository._instance = new SystemRepository(app);
}
Expand Down
3 changes: 2 additions & 1 deletion test/unit-tests/configuration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const defaultConfig = {
FASTSYNC: false,
IPFS_GATEWAY: "http://localhost:8080/ipfs/",
PIRATE: false,
NO_REMOTE_MANIFEST: false
NO_REMOTE_MANIFEST: false,
INSTANCE_NAME: "Test-Sentinel",
};

// set environment variables from the given config object
Expand Down

0 comments on commit c0bd07b

Please sign in to comment.