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

Commit

Permalink
support-test (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
colawwj authored Nov 20, 2020
1 parent a6e6fc3 commit aa72fb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autorest/clicommon",
"version": "0.5.7",
"version": "0.5.8",
"description": "Autorest Azure Cli Common Module",
"main": "dist/index.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extension.Add("cli-test", async host => {
dumper.dumpCodeModel("test-pre", session.model);

// add test scenario from common settings
const cliCommonSettings = await host.GetValue("cli");
const cliCommonSettings = await host.GetValue("test") || await host.GetValue("cli");
if (cliCommonSettings) {
session.model["test-scenario"] = cliCommonSettings['test-scenario'] || cliCommonSettings['test-setup'];
}
Expand Down

0 comments on commit aa72fb1

Please sign in to comment.