Add support to v1 to connect to GHES (#69)

* Bumping actions/github to 2.2.0 for GHES

* Husky commit correct node modules
This commit is contained in:
PJ Quirk authored and GitHub committed 2020-05-15 15:25:57 -04:00
1 parent c201d45ef4
commit 0649bd8119
7893 files changed
+2232806 -48998

No files matched your search

Generated Vendored Executable
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env node
'use strict';
var fs = require('fs');
var name = process.argv[2] || '.';
var property = process.argv[3] || 'version';
if (name != '.') name = 'node_modules/' + name;
var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8'));
console.log(json[property]);