From fff81552f044c64b8a3071825db955fd22ea6823 Mon Sep 17 00:00:00 2001 From: ssube Date: Thu, 4 Jul 2019 10:54:22 -0500 Subject: [PATCH] fix(docs): remove container and package scopes --- docs/workflow.md | 7 +++---- src/index.ts | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/workflow.md b/docs/workflow.md index 0d86f53..35faebf 100644 --- a/docs/workflow.md +++ b/docs/workflow.md @@ -24,18 +24,17 @@ tying them all together. - build - `.gitlab-ci.yml` + - `Dockerfile` - `Makefile` - `*.mk` + - `package.json` - config - `src/config/*` -- container - - `Dockerfile` - docs - `docs/*` + - `README.md` - examples - `examples/*` -- package - - `package.json` - parser - `src/parser/*` - rules diff --git a/src/index.ts b/src/index.ts index e75ba8a..7f85bba 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,6 +16,7 @@ const STATUS_ERROR = 1; export async function main(argv: Array): Promise { const { args, mode } = parseArgs(); const config = await loadConfig(args[CONFIG_ARGS_NAME], ...args[CONFIG_ARGS_PATH]); + const logger = createLogger(config.data.logger); logger.info(VERSION_INFO, 'version info'); logger.info({ args }, 'main arguments');