Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
okdistribute committed Dec 19, 2016
1 parent 1a97504 commit 51fc983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function create (opts) {

if (dat.owner) {
datJson.read(dat, function (err, body) {
if (!err) return importFiles()
if (!err) return importFiles() // TODO: if dat.json exists, then what?
if (err.code === 'ENOENT' || !body) {
return datJson.create(dat, function (err) {
if (err) return exit(err)
Expand Down

0 comments on commit 51fc983

Please sign in to comment.