Skip to content

Commit bd3dfdb

Browse files
hound fixes
good boy!
1 parent 1f979fd commit bd3dfdb

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

app/models/consoleService.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ var scribeConsole = function(tag, colors) {
44
colors = colors ? colors : 'red';
55
return {
66
log: function(text) {
7-
_console.time().tag({msg: tag, colors: colors })
7+
_console.time().tag({msg: tag, colors: colors})
88
.info(text);
99
},
1010
error: function(text) {
11-
_console.time().tag({msg: tag, colors: colors })
11+
_console.time().tag({msg: tag, colors: colors})
1212
.error(text);
1313
},
1414
warn: function(text) {
15-
_console.time().tag({msg: tag, colors: colors })
15+
_console.time().tag({msg: tag, colors: colors})
1616
.warn(text);
1717
},
1818
info: function(text) {
19-
_console.time().tag({msg: tag, colors: colors })
19+
_console.time().tag({msg: tag, colors: colors})
2020
.info(text);
2121
},
2222
debug: function(text) {
23-
_console.time().tag({msg: tag, colors: colors })
23+
_console.time().tag({msg: tag, colors: colors})
2424
.debug(text);
2525
},
2626
customConsole: _console

app/models/folderService.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ var dirTree = require('directory-tree'),
22
fs = require('fs'),
33
path = require('path'),
44
fileService = require('./fileService.js');
5-
var console = require('./consoleService')('DIRECTORY CONTENT', ['green', 'inverse']);
5+
var console = require('./consoleService')
6+
('DIRECTORY CONTENT', ['green', 'inverse']);
67

78
var folderService = {};
89

app/models/userHomeDirectoryService.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
var userHomeDirectory = require('user-home');
22

3-
var console = require('./consoleService')('USER DIRECTORY', ['yellow', 'inverse']);
3+
var console = require('./consoleService')
4+
('USER DIRECTORY', ['yellow', 'inverse']);
45
var userHomeDirectoryService = {};
56

67
userHomeDirectoryService.get = function(req, res) {

server.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ var express = require('express'), // call express
1212
logo = require('./printLogo');
1313
var app = express(); // define our app using express
1414
var scribe = require('scribe-js')(); // used for logs
15-
var console = require('./app/models/consoleService')('MAIN PROCESS', ['magenta', 'inverse']);
15+
var console = require('./app/models/consoleService')
16+
('MAIN PROCESS', ['magenta', 'inverse']);
1617

1718
// hook helmet to our express app. This adds some protection to each communication with the server
1819
// read more at https://github.com/helmetjs/helmet
@@ -93,5 +94,6 @@ app.get('*', function(req, res) {
9394
*/
9495
app.listen(config.port, function() {
9596
logo();
96-
console.info('Server listening at port ' + colors.bgBlue.white.bold(' ' + config.port + ' '));
97+
console.info('Server listening at port '
98+
+ colors.bgBlue.white.bold(' ' + config.port + ' '));
9799
});

0 commit comments

Comments
 (0)