Skip to content

Commit

Permalink
refactor: strf-8606; removed unused modules "good", "good-console"
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxGenash committed Aug 17, 2020
1 parent 3ba580e commit 1db7f5a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 74 deletions.
64 changes: 5 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
"@octokit/rest": "^18.0.3",
"@hapi/boom": "^8.0.1",
"@hapi/glue": "^6.2.0",
"@hapi/good": "^8.2.4",
"@hapi/good-console": "^8.1.2",
"@hapi/h2o2": "^8.3.2",
"@hapi/hapi": "^18.4.1",
"@hapi/inert": "^5.2.2",
Expand Down
12 changes: 0 additions & 12 deletions server/config.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
'use strict';

const Confidence = require('confidence');
const GoodConsole = require('@hapi/good-console');

const config = {
$meta: 'Config file',
server: {
host: 'localhost',
port: 3000,
},
good: {
ops: {
interval: 1000,
},
reporters: {
goodConsoleReporter: [{
module: GoodConsole,
args: [{log: '*', request: '*'}],
}],
},
},
};

const criteria = {
Expand Down
1 change: 0 additions & 1 deletion server/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const manifest = {
register: {
plugins: {
// Third Party Plugins
'@hapi/good': config.get('/good'),
'@hapi/inert': {},
'@hapi/h2o2': {},
// First Party Plugins
Expand Down

0 comments on commit 1db7f5a

Please sign in to comment.