Skip to content

Commit

Permalink
feat: remove default customEgg (eggjs#487)
Browse files Browse the repository at this point in the history
If customEgg is not specified, master will lookup egg from node_modules
by default
  • Loading branch information
popomore authored Mar 2, 2017
1 parent bac0526 commit 2fb89df
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
/node_modules
coverage
*.log
npm-debug.log
Expand All @@ -11,6 +11,7 @@ run
.DS_Store
.tmp
docs/CONTRIBUTING.md
docs/node_modules
docs/README.md
docs/db.json
docs/source/release/index.md
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Start egg application with cluster mode
* @since 1.0.0
*/
exports.startCluster = require('./lib/cluster');
exports.startCluster = require('egg-cluster').startCluster;

/**
* @member {Application} Egg#Application
Expand Down
10 changes: 0 additions & 10 deletions lib/cluster/index.js

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2fb89df

Please sign in to comment.