mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2026-08-28 21:14:58 -04:00
Fix.
This commit is contained in:
parent
ffce9ce43f
commit
a966e84ff9
6749 changed files with 937824 additions and 462 deletions
10
node_modules/ajv/scripts/info
generated
vendored
Normal file
10
node_modules/ajv/scripts/info
generated
vendored
Normal 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]);
|
||||
Loading…
Reference in a new issue