feat:fix typo
This commit is contained in:
parent
75d8735ef6
commit
3ff13fcf28
@ -119,7 +119,7 @@ function initiOS(path, name) {
|
|||||||
copyFolder(`${targetiOSPath}`, `${path}`, () => {
|
copyFolder(`${targetiOSPath}`, `${path}`, () => {
|
||||||
const mainFiles = `Example/ViewController.m`
|
const mainFiles = `Example/ViewController.m`
|
||||||
fs.writeFileSync(`${path}/${mainFiles}`, fs.readFileSync(`${targetiOSPath}/${mainFiles}`).toString().replace(/__\$__/g, name))
|
fs.writeFileSync(`${path}/${mainFiles}`, fs.readFileSync(`${targetiOSPath}/${mainFiles}`).toString().replace(/__\$__/g, name))
|
||||||
console.log(`Create Doric Android Project Success`)
|
console.log(`Create Doric iOS Project Success`)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user