@cabloy/cli 3.0.43 → 3.0.44
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/dist/lib/local.helper.js +3 -2
- package/package.json +1 -1
package/dist/lib/local.helper.js
CHANGED
|
@@ -289,9 +289,10 @@ export class LocalHelper {
|
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
function _formatFileDisable(fileName) {
|
|
292
|
-
|
|
292
|
+
const baseName = path.basename(fileName);
|
|
293
|
+
if (/.env\..*$/.test(baseName))
|
|
293
294
|
return true;
|
|
294
|
-
if (
|
|
295
|
+
if (['.env', 'docker-compose-dockerfile-app', 'docker-compose.yml'].includes(baseName))
|
|
295
296
|
return true;
|
|
296
297
|
return false;
|
|
297
298
|
}
|