Skip to content

Commit 015c7b3

Browse files
committed
fix cache directory related error trace
``` emcc: error: unable to create cache directory "{cachdir}": parent directory not writable (see https://emscripten.org/docs/tools_reference/emcc.html for info on setting the cache directory) ```
1 parent 94f4173 commit 015c7b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def ensure():
7777
if not os.path.isdir(cachedir):
7878
parent_dir = os.path.dirname(cachedir)
7979
if not is_writable(parent_dir):
80-
utils.exit_with_error('unable to create cache directory "{cachdir}": parent directory not writable (see https://emscripten.org/docs/tools_reference/emcc.html for info on setting the cache directory)')
80+
utils.exit_with_error(f'unable to create cache directory "{cachedir}": parent directory not writable (see https://emscripten.org/docs/tools_reference/emcc.html for info on setting the cache directory)')
8181
utils.safe_ensure_dirs(cachedir)
8282

8383

0 commit comments

Comments
 (0)