From e5c9a67056d96a484ff5dea33c6b004ea787dbbf Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 10 Dec 2015 10:00:39 -0800 Subject: [PATCH] Add a comment explaining why there's no es6 in compile-cache.js --- src/compile-cache.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/compile-cache.js b/src/compile-cache.js index 1bbef4273..679c7a769 100644 --- a/src/compile-cache.js +++ b/src/compile-cache.js @@ -1,5 +1,10 @@ 'use strict' +// For now, we're not using babel or ES6 features like `let` and `const` in +// this file, because `apm` requires this file directly in order to pre-warm +// Atom's compile-cache when installing or updating packages, using an older +// version of node.js + var path = require('path') var fs = require('fs-plus') var CSON = null