chore(eslint): fix lint error

This commit is contained in:
Xin Du (Clark) 2021-10-13 12:16:15 +01:00
parent f0ce5f78f8
commit d8332d6ad6

View File

@ -36,7 +36,7 @@ export default defineNuxtCommand({
await degit.clone(dstDir) await degit.clone(dstDir)
} catch (e) { } catch (e) {
if (e.toString().includes('could not find commit hash')) { if (e.toString().includes('could not find commit hash')) {
consola.warn(`Make sure you have installed \`git\` correctly`) consola.warn('Make sure you have installed `git` correctly')
process.exit(1) process.exit(1)
} }
throw e throw e