Comparing version 2.1.3 to 2.1.4
@@ -122,6 +122,2 @@ 'use strict'; | ||
if(pkg !== newPkg && this.opts.verbose){ | ||
console.log('Naming', pkg, 'as', newPkg, 'in repl'); | ||
} | ||
return newPkg; | ||
@@ -142,2 +138,5 @@ }; | ||
loadedPackages[pkgName] = require(pkgPath); | ||
if(pkg !== pkgName && that.opts.verbose){ | ||
console.log('Naming', pkg, 'as', pkgName, 'in repl'); | ||
} | ||
} catch(e) { | ||
@@ -144,0 +143,0 @@ console.log('Failed to load', pkg); |
The MIT License (MIT) | ||
Copyright (c) 2014 Todd Kennedy | ||
Copyright (c) 2014, 2015 Todd Kennedy | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "repl-it", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "Loads all the packages in your package.json and creates a repl for you", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "tap test/*spec.js", | ||
"lint": "jshint *js" | ||
"test": "npm run lint", | ||
"lint": "jshint *.js" | ||
}, | ||
@@ -10,0 +10,0 @@ "bin": { |
8203