Skip to content
This repository was archived by the owner on Apr 1, 2019. It is now read-only.

Commit 8d70701

Browse files
author
Walker Leite
committed
update logging
1 parent cb59ffb commit 8d70701

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

meta.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ module.exports = {
2020
}
2121
},
2222
"complete": function(data, {logger}) {
23-
logger.log("To get started:");
24-
if (data.inPlace) logger.log("\n\ncd " + data.destDirName);
25-
logger.log("1. Install dependencies npm install");
26-
logger.log("2. Write your component in src/Component.vue");
27-
logger.log("3. Write a demo in docs docs/Usage.md");
28-
logger.log("4. Access demo and docs with npm run serve");
29-
logger.log("5. Build with npm run build");
30-
logger.log("6. Build docs with npm run build:doc");
23+
let msg = "To get started:";
24+
if (data.inPlace) msg.concat("\n\ncd " + data.destDirName);
25+
msg.concat("\n\n1. Install dependencies npm install");
26+
msg.concat("\n2. Write your component in src/Component.vue");
27+
msg.concat("\n3. Write a demo in docs docs/Usage.md");
28+
msg.concat("\n4. Access demo and docs with npm run serve");
29+
msg.concat("\n5. Build with npm run build");
30+
msg.concat("\n6. Build docs with npm run build:doc");
31+
logger.log(msg);
32+
console.log(data, this);
3133
const name = require('./package.json').name;
3234

3335
// Rename to be compatible with styleguide configuration

0 commit comments

Comments
 (0)