Skip to content

Commit cd4224d

Browse files
Fix: reenable startup without credentials (#29)
1 parent 6198cb4 commit cd4224d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cli/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const start = function (file) {
124124
options.env = program.environment || process.env.DPD_ENV || options.env;
125125
if (options.env !== 'development') console.log('starting in %s mode', options.env);
126126

127-
if (credentials !== undefined) options.db.credentials = credentials;
127+
if (credentials && credentials.length > 0) options.db.credentials = credentials;
128128

129129
let dpd = createServer(options);
130130
dpd.on('listening', onListening);

lib/createtemplate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"node": ">= 4.0"
44
},
55
"dependencies": {
6-
"deployd": "^1.0.0-beta",
6+
"deployd": "^1.0.0",
77
"dpd-dashboard": "^0.0.1",
88
"dpd-clientlib": "^0.0.1"
99
}

0 commit comments

Comments
 (0)