mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
chore(eslint): fix lint error
This commit is contained in:
parent
f0ce5f78f8
commit
d8332d6ad6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user