Skip to content

Commit

Permalink
Merge pull request #121 from adobe/logging
Browse files Browse the repository at this point in the history
Using AIOLogger
  • Loading branch information
Himavanth authored Jan 13, 2020
2 parents 5172930 + 80f43e8 commit ede76de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/app/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const BaseCommand = require('../../BaseCommand')
const yeoman = require('yeoman-environment')
const path = require('path')
const fs = require('fs-extra')
const debug = require('debug')('aio-cli-plugin-app:init')
const aioLogger = require('@adobe/aio-lib-core-logging')('@adobe/aio-cli-plugin-app:init', { provider: 'debug' })
const { flags } = require('@oclif/command')

class InitCommand extends BaseCommand {
Expand All @@ -24,7 +24,7 @@ class InitCommand extends BaseCommand {
fs.ensureDirSync(destDir)
process.chdir(destDir)
}
debug('creating new app with init command ', flags)
aioLogger.debug('creating new app with init command ', flags)

const env = yeoman.createEnv()

Expand Down

0 comments on commit ede76de

Please sign in to comment.