Skip to content

Commit

Permalink
fixed another naming bug
Browse files Browse the repository at this point in the history
  • Loading branch information
alpacamybags118 committed Oct 24, 2021
1 parent 04a82bc commit 6af96d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
const dargs = require('dargs');
const execa = require('execa');
const path = require('path');
const { getBinaryName } = require('./helpers');


const pathToBinary = path.join(path.join(__dirname,'../bin'), binary)
const pathToBinary = path.join(path.join(__dirname,'../bin'), getBinaryName())

/**
* Takes media URL and options for invoking yt-dlp and formats them in a string array.
Expand Down

0 comments on commit 6af96d8

Please sign in to comment.