Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit 890b3aa

Browse files
yradsmikhambnookala
authored andcommitted
re-word warning messages
1 parent 8c921fe commit 890b3aa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/commands/infra/scaffold.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export const validateValues = (
4242
!config.azure_devops.access_token ||
4343
!config.azure_devops.infra_repository
4444
) {
45-
logger.warn(`The infrastructure repository containing the remote terraform \
46-
template repo and access token was not specified. Checking passed arguments.`);
45+
logger.info(`The infrastructure repository containing the remote terraform \
46+
template repo and access token was not specified in spk-config.yml. Checking passed arguments.`);
4747

4848
if (!opts.source) {
4949
// since access_token and infra_repository are missing, we cannot construct source for them

src/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ export const Config = (): ConfigYaml => {
159159
} catch (err) {
160160
logger.verbose(err);
161161
if (!hasWarnedAboutUninitializedConfig) {
162-
logger.warn(
163-
`Error loading SPK configuration file; run \`spk init\` to initialize your global configuration or ensure you have passed all required parameters to the called function.`
162+
logger.info(
163+
`Unable to load SPK configuration file; run \`spk init\` to initialize your global configuration or ensure you have passed all required parameters to the called function.`
164164
);
165165
hasWarnedAboutUninitializedConfig = true;
166166
}

0 commit comments

Comments
 (0)