Skip to content

Commit 846a380

Browse files
committed
Apply eslint style
OHM-1082
1 parent fc5a3ee commit 846a380

File tree

137 files changed

+12236
-6516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+12236
-6516
lines changed

Diff for: bin/openhim-core.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ if (args.indexOf('-v') >= 0 || args.indexOf('--version') >= 0) {
1616
process.exit(0)
1717
}
1818

19-
const child = new (forever.Monitor)('lib/server.js', {
19+
const child = new forever.Monitor('lib/server.js', {
2020
sourceDir: root,
2121
command: 'node',
2222
args,
2323
watch: process.env.NODE_ENV !== 'production',
2424
watchDirectory: 'lib'
2525
})
2626

27-
child.on('watch:restart', (info) => {
27+
child.on('watch:restart', info => {
2828
console.error(`Restarting script because ${info.file} changed`)
2929
})
3030

3131
child.on('restart', () => {
3232
console.error(`Forever restarting script for ${child.times} time`)
3333
})
3434

35-
child.on('exit:code', (code) => {
35+
child.on('exit:code', code => {
3636
console.error(`Forever detected script exited with code ${code}`)
3737
})
3838

Diff for: package-lock.json

+969-272
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)