Skip to content

Commit

Permalink
update to work with new simpleconsolecolors package
Browse files Browse the repository at this point in the history
  • Loading branch information
MoralesJonathan committed Sep 10, 2019
1 parent 8940536 commit 17b9b0f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('simple-console-colors');
require('simple-console-colors')();
const express = require("express");
const routes = require("./routes");
const app = express();
Expand Down
Binary file modified client/.DS_Store
Binary file not shown.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"express": "^4.17.1",
"if-env": "^1.0.4",
"mongoose": "^5.6.13",
"normalize.css": "^8.0.1",
"simple-console-colors": "^1.0.0"
"simple-console-colors": "^1.1.1"
},
"devDependencies": {
"concurrently": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const mongooseConnection = require("./dbconfig/connection.js");

app.listen(PORT, () => {
console.log(`Server running on PORT ${PORT}!`);
mongooseConnection.connect();
mongooseConnection.connect().catch( e => console.error(e));
});
13 changes: 4 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3180,11 +3180,6 @@ normalize-path@^3.0.0:
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==

normalize.css@^8.0.1:
version "8.0.1"
resolved "https://registry.yarnpkg.com/normalize.css/-/normalize.css-8.0.1.tgz#9b98a208738b9cc2634caacbc42d131c97487bf3"
integrity sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==

npm-bundled@^1.0.1:
version "1.0.6"
resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd"
Expand Down Expand Up @@ -4029,10 +4024,10 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=

simple-console-colors@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/simple-console-colors/-/simple-console-colors-1.0.0.tgz#620fd90d8c0282ed469d328367f2ce19c9913871"
integrity sha512-oP5+o7dS6QoCdmHoPwcioASRVykcdUHZvYLrIHydOcZKxPucx+n+Cgkz7LELC81x6Fk0qNMRXQYiSnSARmwTog==
simple-console-colors@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/simple-console-colors/-/simple-console-colors-1.1.1.tgz#d30ce3ad46988573871d55d28d069c6503f9b583"
integrity sha512-yRx8LpTQLmfKcBb0Z/qHf8jW3Qkzrmoh7s/9FRyIk+yYqde+w2Vqwzp6bpfcVDrpF1R7k5YFehDqMuT3feuNkQ==

sisteransi@^1.0.0:
version "1.0.0"
Expand Down

0 comments on commit 17b9b0f

Please sign in to comment.