Browse Source

No need to store apm's version in index.json

Cheng Zhao 10 years ago
parent
commit
61100c9c0b
1 changed files with 0 additions and 6 deletions
  1. 0 6
      tools/dump-version-info.js

+ 0 - 6
tools/dump-version-info.js

@@ -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) {