mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-06 04:32:40 +00:00
Some changes
This commit is contained in:
12
.github/docs.js
vendored
Normal file
12
.github/docs.js
vendored
Normal 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])
|
||||
Reference in New Issue
Block a user