@platforma-sdk/r-builder 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@platforma-sdk/r-builder",
3
3
  "description": "Build R run environment for Platforma",
4
4
  "type": "module",
5
- "version": "1.1.1",
5
+ "version": "1.1.2",
6
6
  "files": [
7
7
  "assets/",
8
8
  "scripts/"
@@ -209,7 +209,9 @@ function collectSoLibs(logger, binaryFiles, libsDir, libsToIgnore) {
209
209
  for (const libPath of collectedLibs) {
210
210
  logger.info(` copying '${libPath}'`);
211
211
  const targetPath = path.join(libsDir, path.basename(libPath));
212
- fs.copyFileSync(libPath, targetPath);
212
+ if (!fs.existsSync(targetPath)) {
213
+ fs.copyFileSync(libPath, targetPath);
214
+ }
213
215
  }
214
216
 
215
217
  return collectedLibs;