From cb0ff72dc565b06a93a0accd4ced0f5851d0d561 Mon Sep 17 00:00:00 2001 From: Anish Karandikar Date: Sun, 4 Jul 2021 10:37:03 -0700 Subject: [PATCH] emulator: Remove superfluous INFO log Emulator does not log about the default being used for any other option. Why log about default used for `sourceDirectory`? Seems unnecessary. --- src/extensions/emulator/optionsHelper.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/extensions/emulator/optionsHelper.ts b/src/extensions/emulator/optionsHelper.ts index 8e41d1991aa..37e587599ee 100644 --- a/src/extensions/emulator/optionsHelper.ts +++ b/src/extensions/emulator/optionsHelper.ts @@ -149,11 +149,8 @@ function getFunctionSourceDirectory(functionResources: Resource[]): string { let sourceDirectory; for (const r of functionResources) { let dir = _.get(r, "properties.sourceDirectory"); + // If not specified, default sourceDirectory to "functions" if (!dir) { - EmulatorLogger.forEmulator(Emulators.FUNCTIONS).log( - "INFO", - `No sourceDirectory was specified for function ${r.name}, defaulting to 'functions'` - ); dir = "functions"; } if (!sourceDirectory) {