Skip to content

Commit c780f53

Browse files
committed
[CIRCLE_CI]: full path used
1 parent 2d21138 commit c780f53

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
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"

src/commands/hash.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)