Skip to content

Commit 0835f2a

Browse files
authored
Update generate_data.py
1 parent 5806ad4 commit 0835f2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eng/mgmt/automation/generate_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ def sdk_automation_cadl(config: dict) -> List[dict]:
6363
pwd = os.getcwd()
6464
os.chdir(cadl_dir)
6565
try:
66-
# install latest @azure-tools/cadl-java
67-
subprocess.run('npm install "@azure-tools/[email protected]"', shell=True, check=True)
68-
6966
# install dependencies
7067
subprocess.run('npm install "@azure-tools/[email protected]" "@cadl-lang/[email protected]" "@cadl-lang/[email protected]" "@cadl-lang/[email protected]"', shell=True, check=True)
68+
69+
# install latest @azure-tools/cadl-java
70+
subprocess.run('npm install "@azure-tools/[email protected]"', shell=True, check=True)
7171

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

0 commit comments

Comments
 (0)