Skip to content

Commit

Permalink
Tweak CLI stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Mar 18, 2024
1 parent 68b4f56 commit e95c678
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion programs/create/messages/directoryHasConflicts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default async function directoryHasConflicts(
for (const file of conflictingFiles) {
const stats = await fs.lstat(path.join(projectPath, file))

console.error(stats.isDirectory() ? `📁 - ${file}` : ` 📄 - ${file}`)
console.error(stats.isDirectory() ? `📁 - ${file}` : `📄 - ${file}`)
}

console.error(
Expand Down
5 changes: 0 additions & 5 deletions programs/develop/extensionStart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ export default async function extensionStart(

try {
if (isUsingTypeScript(projectPath)) {
if (process.env.EXTENSION_ENV === 'development') {
console.log(
'[extension-create setup] 🔷 - Using TypeScript config file: `tsconfig.json`'
)
}
await generateExtensionTypes(projectPath)
}

Expand Down
2 changes: 1 addition & 1 deletion programs/develop/steps/generateExtensionTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default async function generateExtensionTypes(projectDir: string) {
}) `
) +
`${blue(
'TypeScript'
bold('TypeScript')
)} install detected. Writing extension type definitions...`
)
try {
Expand Down

0 comments on commit e95c678

Please sign in to comment.