From d84fdbd9b62ee227f5502e434f9724befdea5fe7 Mon Sep 17 00:00:00 2001 From: Greg Rashkevitch Date: Sun, 14 Jan 2024 10:15:30 +0200 Subject: [PATCH] print mappsrc folder on init (#73) --- package.json | 2 +- src/commands/init/index.ts | 2 +- src/services/config-service.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3c5f318..44a951c 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mondaycom/apps-cli", - "version": "2.2.2", + "version": "2.2.3", "description": "A cli tool to manage apps (and monday-code projects) in monday.com", "author": "monday.com Apps Team", "type": "module", diff --git a/src/commands/init/index.ts b/src/commands/init/index.ts index a7a2bdd..50e9200 100644 --- a/src/commands/init/index.ts +++ b/src/commands/init/index.ts @@ -50,7 +50,7 @@ export default class Init extends BaseCommand { } ConfigService.init(args, this.config.configDir, { override: true, setInProcessEnv: true }); - logger.info(`'${CONFIG_NAME}' created`); + logger.info(`'${CONFIG_NAME}' created inside '${this.config.configDir}'`); } catch (error) { logger.debug(error, this.DEBUG_TAG); logger.error(`'${CONFIG_NAME}' failed to initialize`); diff --git a/src/services/config-service.ts b/src/services/config-service.ts index ccf3203..e73f0b8 100644 --- a/src/services/config-service.ts +++ b/src/services/config-service.ts @@ -111,7 +111,7 @@ export const ConfigService = { return data; } catch (error) { - logger.debug('An error has occurred while creating mapps config file', (error as Error).message); + logger.debug('An error has occurred while creating .mappsrc config file', (error as Error).message); } }, };