Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser committed Jun 2, 2022
1 parent 136d1f3 commit b87c72b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/scaffold-config/src/detect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export function detectLanguage ({ projectRoot, pkgJson, isMigrating = false }: {
// because it won't work on the next step of installation anyway
try {
const typescriptFile = require.resolve('typescript', { paths: [projectRoot] })

debug('Resolved typescript from %s', typescriptFile)
} catch {
debug('No typescript installed - using js')
Expand Down

0 comments on commit b87c72b

Please sign in to comment.