mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2026-11-05 22:36:53 +08:00
add:hezj
This commit is contained in:
1 parent
9f396f6da9
commit
4e50a97e36
10 files changed
+172
-2060
No files matched your search
@@ -1,13 +0,0 @@
|
||||
module.exports = {
|
||||
getBucket,
|
||||
updateBucket
|
||||
}
|
||||
const fs = require('fs')
|
||||
function getBucket(bucketName) {
|
||||
return fs.readFileSync(bucketName)
|
||||
}
|
||||
|
||||
function updateBucket(bucketName, bucket) {
|
||||
return fs.writeFileSync(bucketName, bucket)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user