You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using grunt-contrib-compress as part of my build process to generate a ZIP file that contains all the files necessary for a website deployment. I was tinkering with a few settings, and I noticed this in one of the folders in the generated ZIP file:
The web.config file is in that folder twice. Keep in mind this is on a Windows machine, so (outside of a ZIP file) it's not even possible to have two files of the same name in the same folder, even if they have different casing (in this instance, the case is identical).
I'm using grunt-contrib-compress 1.4.3. Here's my configuration from my gruntfile.js:
Note that if I change the line that says "**/media/Web.config" to "**/Media/Web.config" (i.e., I uppercased the "M"), the duplicate file is no longer there (i.e., it's just a single web.config). On the actual file system, the original folder has an uppercase "M". Note that I also tried adding both of those lines (i.e., both with uppercase and lowercase), and I still ended up with the duplicate web.config files.
The text was updated successfully, but these errors were encountered:
I'm using grunt-contrib-compress as part of my build process to generate a ZIP file that contains all the files necessary for a website deployment. I was tinkering with a few settings, and I noticed this in one of the folders in the generated ZIP file:
The web.config file is in that folder twice. Keep in mind this is on a Windows machine, so (outside of a ZIP file) it's not even possible to have two files of the same name in the same folder, even if they have different casing (in this instance, the case is identical).
I'm using grunt-contrib-compress 1.4.3. Here's my configuration from my gruntfile.js:
Note that if I change the line that says
"**/media/Web.config"
to"**/Media/Web.config"
(i.e., I uppercased the "M"), the duplicate file is no longer there (i.e., it's just a single web.config). On the actual file system, the original folder has an uppercase "M". Note that I also tried adding both of those lines (i.e., both with uppercase and lowercase), and I still ended up with the duplicate web.config files.The text was updated successfully, but these errors were encountered: