Skip to content

Commit

Permalink
Merge pull request #60 from ribbitjs/init-regression-fix
Browse files Browse the repository at this point in the history
Fix init command regression
  • Loading branch information
mrbut authored Jan 29, 2019
2 parents 8d50a15 + 701119a commit 564dffb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/cli/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ const path = require('path');
const rimraf = require('rimraf');
const { linkUserDeps, unlinkUserDeps } = require('../utils/index');

const ribbitConfig = require(path.join(process.env.PWD, '/ribbit.config.js'));

function build() {
const ribbitConfig = require(path.join(process.env.PWD, '/ribbit.config.js'));
linkUserDeps(ribbitConfig.dependencies, process.env.PWD);
const child = exec(
`npm run start-server ${process.env.PWD}`,
Expand Down

0 comments on commit 564dffb

Please sign in to comment.