medusabci / medusa-platform

Other
10 stars 1 forks source link

Avoid packaging an app in the apps directory! #30

Open vicmarcag opened 2 years ago

vicmarcag commented 2 years ago

If the user tries to package an app inside the app directory, a recursive issue appears by trying to zip the folder is being zipped, so an eternal loop is generated. The file will occupy more and more space until the OS freezes.

Solution: detect the output path and prevent the user to package it inside the same app's directory