File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 5656 "postpack" : " rm -f oclif.manifest.json" ,
5757 "posttest" : " tslint -p test -t stylish" ,
5858 "prepack" : " rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme" ,
59- "test" : " nyc --extension .ts mocha --forbid-only \" test/**/*.test.ts\" " ,
59+ "test" : " ./node_modules/.bin/ nyc --extension .ts mocha --forbid-only \" test/**/*.test.ts\" " ,
6060 "version" : " oclif-dev readme && git add README.md"
6161 },
6262 "types" : " lib/index.d.ts"
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ export default class Hash extends Command {
3333 } else
3434 str = args . string
3535
36- this . log ( str )
3736 this . calculateHash ( type , str )
3837 }
3938
@@ -61,7 +60,7 @@ export default class Hash extends Command {
6160
6261 if ( hash ) {
6362 let hashed : string = hash . hex ( str )
64- this . log ( `[HASH ]: ${ hashed } ` )
63+ this . log ( `[${ type . toUpperCase ( ) } ]: ${ hashed } ` )
6564 } else {
6665 this . log ( '[ERROR]: invalid hash type' )
6766 }
You can’t perform that action at this time.
0 commit comments