Verbose output for autorest, displaying output pane on error (#17308)

This commit is contained in:
Benjin Dubishar
2021-10-14 15:22:53 -07:00
committed by GitHub
parent 49b5630b54
commit 69128c0689
4 changed files with 4 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ describe('Autorest tests', function (): void {
});
it('Should construct a correct autorest command for project generation', async function (): Promise<void> {
const expectedOutput = 'autorest --use:autorest-sql-testing@latest --input-file="/some/path/test.yaml" --output-folder="/some/output/path" --clear-output-folder';
const expectedOutput = 'autorest --use:autorest-sql-testing@latest --input-file="/some/path/test.yaml" --output-folder="/some/output/path" --clear-output-folder --verbose';
const autorestHelper = new AutorestHelper(testContext.outputChannel);
const constructedCommand = autorestHelper.constructAutorestCommand((await autorestHelper.detectInstallation())!, '/some/path/test.yaml', '/some/output/path');