Skip to content

Commit 3799485

Browse files
committed
chore(golang,python): don't print project name (as it's useful only for js)
1 parent 5f95e9d commit 3799485

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/cli.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ const createDependenciesDescriptor = async (destDir, lang) => {
272272
const resultFile = path.join(destDir, fileName);
273273
// @todo #24 [js] Possibly incorrect project name with --dest-dir option
274274
const projectName = path.basename(destDir);
275-
console.log('Project name:', projectName);
275+
if (lang === 'js') {
276+
console.log('Project name:', projectName);
277+
}
276278

277279
const minimalPackageJson = await ejs.renderFile(
278280
`${__dirname}/templates/${fileName}.ejs`,

0 commit comments

Comments
 (0)