Skip to content

Commit

Permalink
fix: webtorrent version resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez Baquero committed Mar 9, 2022
1 parent 491e927 commit a6d3ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { hideBin } from 'yargs/helpers'
import open from 'open'

const { version: webTorrentCliVersion } = JSON.parse(fs.readFileSync(new URL('../package.json', import.meta.url)))
const { version: webTorrentVersion } = JSON.parse(fs.readFileSync(new URL('../node_modules/webtorrent/package.json', import.meta.url)))
const webTorrentVersion = WebTorrent.VERSION

const yargs = Yargs()

Expand Down

0 comments on commit a6d3ee7

Please sign in to comment.