No need to store apm's version in index.json
authorCheng Zhao <zcbenz@gmail.com>
Sun, 12 Apr 2015 13:42:11 +0000 (21:42 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 12 Apr 2015 13:42:11 +0000 (21:42 +0800)
tools/dump-version-info.js

index c49f758..e76f09b 100644 (file)
@@ -17,16 +17,10 @@ function getDate() {
   return year + '-' + month + '-' + day;
 }
 
-function getApmVersion() {
-  var package = require(path.resolve(__dirname, '..', 'package.json'));
-  return package.devDependencies['atom-package-manager'];
-}
-
 function getInfoForCurrentVersion() {
   var json = {};
   json.version = process.versions['atom-shell'];
   json.date = getDate();
-  json.apm = getApmVersion();
 
   var names = ['node', 'v8', 'uv', 'zlib', 'openssl', 'modules', 'chrome']
   for (var i in names) {