Skip to content

Commit b8153c1

Browse files
committed
fix path
1 parent 3a569d2 commit b8153c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/azure-sdk-tools/packaging_tools/generate_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def gen_cadl(cadl_relative_path: str, spec_folder: str) -> Dict[str, Any]:
368368

369369
# npm install tool
370370
origin_path = os.getcwd()
371-
cadl_to_sdk_config = origin_path / "cadl_to_sdk_config.json"
371+
cadl_to_sdk_config = Path(origin_path) / "cadl_to_sdk_config.json"
372372
os.chdir(Path(spec_folder) / cadl_relative_path)
373373
if not Path("package.json").exists():
374374
shutil.copy(cadl_to_sdk_config, "package.json")

0 commit comments

Comments
 (0)