sshifu-trust 0.7.8-test.7 → 0.7.8-test.8

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sshifu-trust",
3
- "version": "0.7.8-test.7",
3
+ "version": "0.7.8-test.8",
4
4
  "description": "Configure SSH servers to trust sshifu certificate authority",
5
5
  "main": "bin/sshifu-trust.js",
6
6
  "bin": {
@@ -90,6 +90,9 @@ async function main() {
90
90
  try {
91
91
  await download(archiveUrl, archivePath);
92
92
 
93
+ // Small delay to ensure file handle is released
94
+ await new Promise(resolve => setTimeout(resolve, 500));
95
+
93
96
  // Extract the archive
94
97
  console.log(`[sshifu-trust] Extracting...`);
95
98
  const archiveBinName = `${PACKAGE_NAME}-${platform}${isWindows ? '.exe' : ''}`;