Skip to content

Commit 10c96d1

Browse files
author
baymer
committed
nots/builder: убрать двойной pnpm install на модуль в ya.make
commit_hash:76d6d3957e2208b59863c8dd97de29c59b1ab958
1 parent c2b29fe commit 10c96d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/plugins/lib/nots/package_manager/pnpm/package_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ def execute_install_cmd():
250250
paths_to_exist = [build_nm_path(cwd)]
251251
hash_file = os.path.join(build_nm_store_path(self.module_path), LOCAL_PNPM_INSTALL_HASH_FILENAME)
252252
mutex_file = os.path.join(build_nm_store_path(self.module_path), LOCAL_PNPM_INSTALL_MUTEX_FILENAME)
253+
os.makedirs(os.path.dirname(mutex_file), exist_ok=True)
253254
execute_cmd_hashed = hashed_by_files(files_to_hash, paths_to_exist, hash_file)(execute_install_cmd)
254255
execute_hashed_cmd_exclusively = sync_mutex_file(mutex_file)(execute_cmd_hashed)
255256
execute_hashed_cmd_exclusively()

0 commit comments

Comments
 (0)