mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-12 21:20:43 +08:00
Update qlCreate.js
This commit is contained in:
parent
d373fda446
commit
cf812c495f
@ -250,7 +250,7 @@ import {
|
|||||||
let main = new psyDuck.Main()
|
let main = new psyDuck.Main()
|
||||||
await main.init(params)
|
await main.init(params)
|
||||||
})().catch((e) => {
|
})().catch((e) => {
|
||||||
console.log(e.message)
|
console.log(e)
|
||||||
})`
|
})`
|
||||||
fs.writeFile(`${abspath}/${filename}.js`, code, function(err, data) {
|
fs.writeFile(`${abspath}/${filename}.js`, code, function(err, data) {
|
||||||
if (err) {
|
if (err) {
|
||||||
@ -308,7 +308,7 @@ import {
|
|||||||
let main = new psyDuck.Main()
|
let main = new psyDuck.Main()
|
||||||
await main.init(params)
|
await main.init(params)
|
||||||
})().catch((e) => {
|
})().catch((e) => {
|
||||||
console.log(e.message)
|
console.log(e)
|
||||||
})`
|
})`
|
||||||
fs.writeFile(`${abspath}/${script}`, code, function(err, data) {
|
fs.writeFile(`${abspath}/${script}`, code, function(err, data) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user