mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
fix: lint error in bin
This commit is contained in:
parent
4cc4eefcf8
commit
fd42610862
@ -82,19 +82,19 @@ if (options.mode !== 'spa') {
|
||||
} else {
|
||||
const s = Date.now()
|
||||
|
||||
nuxt.hook('generate:distRemoved', function() {
|
||||
nuxt.hook('generate:distRemoved', function () {
|
||||
debug('Destination folder cleaned')
|
||||
})
|
||||
|
||||
nuxt.hook('generate:distCopied', function() {
|
||||
nuxt.hook('generate:distCopied', function () {
|
||||
debug('Static & build files copied')
|
||||
})
|
||||
|
||||
nuxt.hook('generate:page', function(page) {
|
||||
nuxt.hook('generate:page', function (page) {
|
||||
debug('Generate file: ' + page.path)
|
||||
})
|
||||
|
||||
nuxt.hook('generate:done', function(generator, errors) {
|
||||
nuxt.hook('generate:done', function (generator, errors) {
|
||||
const duration = Math.round((Date.now() - s) / 100) / 10
|
||||
|
||||
debug(`HTML Files generated in ${duration}s`)
|
||||
|
@ -73,19 +73,19 @@ const generateOptions = {
|
||||
|
||||
const s = Date.now()
|
||||
|
||||
nuxt.hook('generate:distRemoved', function() {
|
||||
nuxt.hook('generate:distRemoved', function () {
|
||||
debug('Destination folder cleaned')
|
||||
})
|
||||
|
||||
nuxt.hook('generate:distCopied', function() {
|
||||
nuxt.hook('generate:distCopied', function () {
|
||||
debug('Static & build files copied')
|
||||
})
|
||||
|
||||
nuxt.hook('generate:page', function(page) {
|
||||
nuxt.hook('generate:page', function (page) {
|
||||
debug('Generate file: ' + page.path)
|
||||
})
|
||||
|
||||
nuxt.hook('generate:done', function(generator, errors) {
|
||||
nuxt.hook('generate:done', function (generator, errors) {
|
||||
const duration = Math.round((Date.now() - s) / 100) / 10
|
||||
|
||||
debug(`HTML Files generated in ${duration}s`)
|
||||
|
Loading…
Reference in New Issue
Block a user