Skip to content

Commit

Permalink
Remove old colour function from hash-pw command
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Jun 2, 2020
1 parent 7154000 commit 942b2a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/commands/hash.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ catch(e) { bcrypt = require('bcryptjs'); }

function command(argv,result) {
return new Promise(resolve => {
prompt.read({prompt:"Password:".bold,silent: true},function(err, password) {
prompt.read({prompt:"Password:",silent: true},function(err, password) {
if (password) {
result.log(bcrypt.hashSync(password, 8));
}
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": "node-red-admin",
"version": "0.2.1",
"version": "0.2.2",
"description": "The Node-RED admin command line interface",
"homepage": "http:https://nodered.org",
"bugs": {
Expand Down

0 comments on commit 942b2a2

Please sign in to comment.