```// If it doesn't end in .zip add that in. if(!f...
# suitescript
a
Copy code
// If it doesn't end in .zip add that in.
if(!filename.endsWith('/.zip'))
filename += '.zip';