Skip to content

Commit 2f6fcf9

Browse files
authored
use fix version
1 parent fcab372 commit 2f6fcf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/mgmt/automation/generate_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ def sdk_automation_cadl(config: dict) -> List[dict]:
6464
os.chdir(cadl_dir)
6565
try:
6666
# install latest @azure-tools/cadl-java
67-
subprocess.run('npm install @azure-tools/cadl-java', shell=True, check=True)
67+
subprocess.run('npm install "@azure-tools/cadl-java@0.2.0"', shell=True, check=True)
6868

6969
# install dependencies
70-
subprocess.run('npm install', shell=True, check=True)
70+
subprocess.run('npm install "@cadl-lang/compiler@~0.38.5" "@cadl-lang/[email protected]" "@azure-tools/[email protected]" "@cadl-lang/[email protected]" "@cadl-lang/[email protected]" "@cadl-lang/[email protected]"', shell=True, check=True)
7171

7272
# check client.cadl
7373
cadl_source = '.'

0 commit comments

Comments
 (0)