feat:fix typo

This commit is contained in:
pengfei.zhou 2019-12-06 09:42:32 +08:00
parent 75d8735ef6
commit 3ff13fcf28

View File

@ -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`)
}) })
}) })
} }