Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Adding more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebriggs committed Apr 15, 2020
1 parent c07ac2d commit b2c11c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/commands/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"arg": "-i, --interactive",
"description": "Interactive mode.",
"description": "Interactive mode. Creates a config file (config.yaml) in a folder .spk under your home directory",
"defaultValue": false
}
],
Expand Down
2 changes: 1 addition & 1 deletion src/commands/init.decorator.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
{
"arg": "-i, --interactive",
"description": "Interactive mode.",
"description": "Interactive mode. Creates a config file (config.yaml) in a folder .spk under your home directory",
"defaultValue": false
}
]
Expand Down
4 changes: 3 additions & 1 deletion src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ export const handleInteractiveMode = async (): Promise<void> => {
const data = yaml.safeDump(curConfig);

fs.writeFileSync(defaultConfigFile(), data);
logger.info("Successfully constructed SPK configuration file.");
logger.info(
"Successfully constructed config.yaml file in .spk under the $HOME directory"
);
const ok = await validatePersonalAccessToken(curConfig.azure_devops);
if (ok) {
logger.info(
Expand Down

0 comments on commit b2c11c2

Please sign in to comment.