Skip to content

Commit

Permalink
Merge 27730be into 4d8873f
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorrustynelson committed Feb 3, 2016
2 parents 4d8873f + 27730be commit 871a6ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bin/ynode.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ commander
global.yearn = require( '../lib/yearn' )( { legacy: commander.legacy } );

try {
process.argv.shift();
require( path.resolve( script ) );
} catch ( exception ) {
console.log( exception.stack );
Expand All @@ -48,7 +49,8 @@ commander.parse( process.argv );

if( !running_async ){
global.yearn = require( '../lib/yearn' )( { legacy: commander.legacy } );


process.argv.shift();
repl.start( {
prompt: ( global.yearn.config.prompt || 'ynode> ' ),
input: process.stdin,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yearn",
"version": "0.7.0",
"version": "0.7.1",
"description": "Override node's require mechanism.",
"keywords": [
"require",
Expand Down

0 comments on commit 871a6ec

Please sign in to comment.