mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-21 21:44:46 +00:00
.
This commit is contained in:
parent
9fff29ba6c
commit
00c3b50fca
7278 changed files with 0 additions and 1778943 deletions
10
node_modules/ajv/scripts/info
generated
vendored
10
node_modules/ajv/scripts/info
generated
vendored
|
@ -1,10 +0,0 @@
|
|||
#!/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…
Add table
Add a link
Reference in a new issue