Guarding against polluted Object.prototypes

This commit is contained in:
Kirk Ouimet 2015-06-07 23:59:49 -07:00
parent 25db6e0bd8
commit 75448ad7ed

View file

@ -14,7 +14,7 @@ getOrCreateArchive = (p) ->
# Clean cache on quit. # Clean cache on quit.
process.on 'exit', -> process.on 'exit', ->
archive.destroy() for p, archive of cachedArchives archive.destroy() for own p, archive of cachedArchives
# Separate asar package's path from full path. # Separate asar package's path from full path.
splitPath = (p) -> splitPath = (p) ->