Skip to content

Commit

Permalink
[patch] add serverRoot to meta
Browse files Browse the repository at this point in the history
  • Loading branch information
tellnes committed Dec 9, 2013
1 parent 1f01d94 commit d98bbc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ if (fs.existsSync( pkgFile )) {
role = pkg.name + '@' + pkg.version
}

meta.serverRoot = path.dirname(pkgFile)

if (pkg.seaport) extend(meta, pkg.seaport)
}

Expand Down

0 comments on commit d98bbc1

Please sign in to comment.