From eee76858f8496bb9ffa31f0d956773e1fa8184f4 Mon Sep 17 00:00:00 2001 From: pengfeizhou Date: Fri, 26 Feb 2021 18:53:28 +0800 Subject: [PATCH] Edit log --- doric-cli/src/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doric-cli/src/create.ts b/doric-cli/src/create.ts index 70ccece7..a48ac35e 100644 --- a/doric-cli/src/create.ts +++ b/doric-cli/src/create.ts @@ -18,7 +18,6 @@ async function shellCopy(dist: string, src: string) { } async function initJS(dir: string, name: string) { - console.log(`Project location ${dir}`); await fs.promises.writeFile( path.resolve(dir, "package.json"), (await fs.promises.readFile(path.resolve(targetJSPath, "_package.json"), "utf-8")) @@ -87,6 +86,7 @@ export default async function create(name: string) { return; } await fs.promises.mkdir(name) + console.log(`Create doric project at ${cwd}`); await initJS(cwd, name) const androidDir = `${cwd}/android` if (fs.existsSync(androidDir)) {