Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Commit

Permalink
Revert "fix: Version hook using execa (#49)"
Browse files Browse the repository at this point in the history
This reverts commit dd79131.
  • Loading branch information
IniZio committed Jan 30, 2018
1 parent 281a7dc commit e2d94dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clipped/src/instance/preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function basePreset (clipped: Object, opt: Object = {}) {

clipped.hook('version')
.add('clipped', async clipped => {
const version = await clipped.exec('npm', ['view', 'clipped', 'version'])
const version = await clipped.exec('npm view clipped version')
clipped.print(version)
})

Expand Down

0 comments on commit e2d94dd

Please sign in to comment.