Comparing version 0.1.1 to 0.1.2
@@ -18,3 +18,3 @@ /*jshint strict:false */ | ||
}, | ||
all: "test/**/*.js" | ||
all: "test/specs/**/*.js" | ||
} | ||
@@ -21,0 +21,0 @@ |
@@ -44,3 +44,6 @@ /** | ||
charm.pipe(process.stdin); | ||
// Make Charm global while running Inquirer | ||
charm.pipe(process.stdout); | ||
var oldCharm = process.charm; | ||
process.charm = charm; | ||
@@ -96,2 +99,5 @@ // Make sure questions is an array. | ||
// Restore global charm | ||
process.charm = oldCharm; | ||
if (_.isFunction(allDone)) { | ||
@@ -98,0 +104,0 @@ allDone(answers); |
@@ -7,4 +7,4 @@ /** | ||
var _ = require("lodash"); | ||
var charm = require("charm")(process.stdout); | ||
var utils = require("../utils/utils"); | ||
var charm = process.charm; | ||
@@ -11,0 +11,0 @@ /** |
@@ -6,6 +6,6 @@ /** | ||
var _ = require("lodash"); | ||
var charm = require("charm")(process.stdout); | ||
var util = require("util"); | ||
var utils = require("../utils/utils"); | ||
var Base = require("./base"); | ||
var charm = process.charm; | ||
@@ -12,0 +12,0 @@ |
@@ -6,6 +6,6 @@ /** | ||
var _ = require("lodash"); | ||
var charm = require("charm")(process.stdout); | ||
var util = require("util"); | ||
var utils = require("../utils/utils"); | ||
var Base = require("./base"); | ||
var charm = process.charm; | ||
@@ -12,0 +12,0 @@ /** |
@@ -6,6 +6,6 @@ /** | ||
var _ = require("lodash"); | ||
var charm = require("charm")(process.stdout); | ||
var util = require("util"); | ||
var utils = require("../utils/utils"); | ||
var Base = require("./base"); | ||
var charm = process.charm; | ||
@@ -12,0 +12,0 @@ |
@@ -6,6 +6,6 @@ /** | ||
var _ = require("lodash"); | ||
var charm = require("charm")(process.stdout); | ||
var util = require("util"); | ||
var utils = require("../utils/utils"); | ||
var Base = require("./base"); | ||
var charm = process.charm; | ||
@@ -12,0 +12,0 @@ /** |
@@ -7,3 +7,3 @@ /** | ||
var _ = require("lodash"); | ||
var charm = require("charm")(process.stdout); | ||
var charm = process.charm; | ||
@@ -10,0 +10,0 @@ /** |
{ | ||
"name": "inquirer", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A collection of common interactive command line user interfaces.", | ||
@@ -5,0 +5,0 @@ "main": "lib/inquirer.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24
865
73831