Some changes

This commit is contained in:
killer069
2021-12-24 12:41:28 +05:30
parent a04f52c44d
commit addaeeac61
5 changed files with 169 additions and 55 deletions

12
.github/docs.js vendored Normal file
View File

@@ -0,0 +1,12 @@
const fs = require('fs')
const path = "play-dl/index.ts"
if(!fs.existsSync(path)) {
console.log('File Missing')
process.exit(1)
}
const oldData = fs.readFileSync(path, 'utf-8')
fs.writeFileSync(path, oldData.split('// Export Default ')[0])