mirror of
https://github.com/actions/setup-python.git
synced 2025-07-20 03:48:21 +02:00
Fix.
This commit is contained in:
parent
7fe1ba03a3
commit
ec0a863019
7020 changed files with 1880198 additions and 489 deletions
22
node_modules/istanbul-lib-instrument/dist/constants.js
generated
vendored
Normal file
22
node_modules/istanbul-lib-instrument/dist/constants.js
generated
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.MAGIC_VALUE = exports.MAGIC_KEY = exports.SHA = void 0;
|
||||
|
||||
var _crypto = require("crypto");
|
||||
|
||||
var _semver = require("semver");
|
||||
|
||||
var _package = require("../package.json");
|
||||
|
||||
// function to use for creating hashes
|
||||
const SHA = 'sha1'; // name of coverage data magic key
|
||||
|
||||
exports.SHA = SHA;
|
||||
const MAGIC_KEY = '_coverageSchema'; // name of coverage data magic value
|
||||
|
||||
exports.MAGIC_KEY = MAGIC_KEY;
|
||||
const MAGIC_VALUE = (0, _crypto.createHash)(SHA).update(_package.name + '@' + (0, _semver.major)(_package.version)).digest('hex');
|
||||
exports.MAGIC_VALUE = MAGIC_VALUE;
|
Loading…
Add table
Add a link
Reference in a new issue