codeplay-common 1.3.2 → 1.3.3
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.
|
@@ -89,12 +89,16 @@ try {
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
// Clean up AppleDouble files (._*) created by macOS START
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
92
|
+
if (process.platform === 'darwin') {
|
|
93
|
+
try {
|
|
94
|
+
console.log('🧹 Cleaning up AppleDouble files (._*)...');
|
|
95
|
+
execSync(`find . -name '._*' -delete`);
|
|
96
|
+
console.log('✅ AppleDouble files removed.');
|
|
97
|
+
} catch (err) {
|
|
98
|
+
console.warn('⚠️ Failed to remove AppleDouble files:', err.message);
|
|
99
|
+
}
|
|
100
|
+
} else {
|
|
101
|
+
console.log('ℹ️ Skipping AppleDouble cleanup — not a macOS machine.');
|
|
98
102
|
}
|
|
99
103
|
|
|
100
104
|
// Clean up AppleDouble files (._*) created by macOS END
|