Skip to content

Commit

Permalink
Update and change the version in ytmp3 module dynamically (#27)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryuu Mitsuki <[email protected]>
  • Loading branch information
mitsuki31 committed Aug 16, 2024
2 parents bdb1d1e + ef73dfb commit 1a5cd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ytmp3.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const { VIDEO: VIDEO_URL } = require('./yt-urlfmt');
* @default
* @public
*/
const VERSION = '1.0.0';
const VERSION = require('../package.json').version;

// Prevent the 'ytdl-core' module to check updates
Object.assign(process.env, { YTDL_NO_UPDATE: true });
Expand Down

0 comments on commit 1a5cd75

Please sign in to comment.