We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c0185 commit dccfc81Copy full SHA for dccfc81
reflex/utils/pyi_generator.py
@@ -1264,7 +1264,7 @@ def scan_all(
1264
dict(
1265
zip(
1266
[
1267
- str(f.relative_to(pyi_hashes_file.parent))
+ f.relative_to(pyi_hashes_file.parent).as_posix()
1268
for f in file_paths
1269
],
1270
hashes,
@@ -1291,9 +1291,10 @@ def scan_all(
1291
for file_path, hashed_content in zip(
1292
file_paths, hashes, strict=False
1293
):
1294
- pyi_hashes[str(file_path.relative_to(pyi_hashes_parent))] = (
1295
- hashed_content
1296
- )
+ formatted_path = file_path.relative_to(
+ pyi_hashes_parent
+ ).as_posix()
1297
+ pyi_hashes[formatted_path] = hashed_content
1298
1299
pyi_hashes_file.write_text(
1300
json.dumps(pyi_hashes, indent=2, sort_keys=True) + "\n"
0 commit comments