No need to store apm's version in index.json
This commit is contained in:
parent
1027fe9991
commit
61100c9c0b
1 changed files with 0 additions and 6 deletions
|
@ -17,16 +17,10 @@ function getDate() {
|
||||||
return year + '-' + month + '-' + day;
|
return year + '-' + month + '-' + day;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getApmVersion() {
|
|
||||||
var package = require(path.resolve(__dirname, '..', 'package.json'));
|
|
||||||
return package.devDependencies['atom-package-manager'];
|
|
||||||
}
|
|
||||||
|
|
||||||
function getInfoForCurrentVersion() {
|
function getInfoForCurrentVersion() {
|
||||||
var json = {};
|
var json = {};
|
||||||
json.version = process.versions['atom-shell'];
|
json.version = process.versions['atom-shell'];
|
||||||
json.date = getDate();
|
json.date = getDate();
|
||||||
json.apm = getApmVersion();
|
|
||||||
|
|
||||||
var names = ['node', 'v8', 'uv', 'zlib', 'openssl', 'modules', 'chrome']
|
var names = ['node', 'v8', 'uv', 'zlib', 'openssl', 'modules', 'chrome']
|
||||||
for (var i in names) {
|
for (var i in names) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue