Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfeef5f1

Browse files
authored
Only copy archive files if the dist directory exists (#273)
1 parent7a9bca9 commitfeef5f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎build_docs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,10 +784,9 @@ def copy_build_to_webroot(self, http: urllib3.PoolManager) -> None:
784784
target,
785785
])
786786

787-
ifnotself.quick:
787+
ifnotself.quickand (self.checkout/"Doc"/"dist").is_dir():
788788
# Copy archive files to /archives/
789789
logging.debug("Copying dist files.")
790-
(self.checkout/"Doc"/"dist").mkdir(exist_ok=True)
791790
run([
792791
"chown",
793792
"-R",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp