update debug build
This commit is contained in:
23
dist/index.js
vendored
23
dist/index.js
vendored
@@ -238,6 +238,7 @@ const Globber_1 = __nccwpck_require__(8259);
|
|||||||
const Artifact_1 = __nccwpck_require__(8568);
|
const Artifact_1 = __nccwpck_require__(8568);
|
||||||
const untildify_1 = __importDefault(__nccwpck_require__(6732));
|
const untildify_1 = __importDefault(__nccwpck_require__(6732));
|
||||||
const ArtifactPathValidator_1 = __nccwpck_require__(7818);
|
const ArtifactPathValidator_1 = __nccwpck_require__(7818);
|
||||||
|
const PathNormalizer_1 = __nccwpck_require__(8103);
|
||||||
class FileArtifactGlobber {
|
class FileArtifactGlobber {
|
||||||
constructor(globber = new Globber_1.FileGlobber()) {
|
constructor(globber = new Globber_1.FileGlobber()) {
|
||||||
this.globber = globber;
|
this.globber = globber;
|
||||||
@@ -246,6 +247,7 @@ class FileArtifactGlobber {
|
|||||||
const split = /[,\n]/;
|
const split = /[,\n]/;
|
||||||
return artifact.split(split)
|
return artifact.split(split)
|
||||||
.map(path => path.trimStart())
|
.map(path => path.trimStart())
|
||||||
|
.map(path => PathNormalizer_1.PathNormalizer.normalizePath(path))
|
||||||
.map(path => FileArtifactGlobber.expandPath(path))
|
.map(path => FileArtifactGlobber.expandPath(path))
|
||||||
.map(pattern => this.globPattern(pattern, errorsFailBuild))
|
.map(pattern => this.globPattern(pattern, errorsFailBuild))
|
||||||
.map((globResult) => FileArtifactGlobber.validatePattern(errorsFailBuild, globResult[1], globResult[0]))
|
.map((globResult) => FileArtifactGlobber.validatePattern(errorsFailBuild, globResult[1], globResult[0]))
|
||||||
@@ -826,6 +828,27 @@ class CoreOutputs {
|
|||||||
exports.CoreOutputs = CoreOutputs;
|
exports.CoreOutputs = CoreOutputs;
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 8103:
|
||||||
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||||
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
|
};
|
||||||
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
|
exports.PathNormalizer = void 0;
|
||||||
|
const path_1 = __importDefault(__nccwpck_require__(1017));
|
||||||
|
class PathNormalizer {
|
||||||
|
static normalizePath(pathString) {
|
||||||
|
return pathString.split(path_1.default.sep).join("/");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
exports.PathNormalizer = PathNormalizer;
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 7579:
|
/***/ 7579:
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -32,6 +32,7 @@ const Globber_1 = require("./Globber");
|
|||||||
const Artifact_1 = require("./Artifact");
|
const Artifact_1 = require("./Artifact");
|
||||||
const untildify_1 = __importDefault(require("untildify"));
|
const untildify_1 = __importDefault(require("untildify"));
|
||||||
const ArtifactPathValidator_1 = require("./ArtifactPathValidator");
|
const ArtifactPathValidator_1 = require("./ArtifactPathValidator");
|
||||||
|
const PathNormalizer_1 = require("./PathNormalizer");
|
||||||
class FileArtifactGlobber {
|
class FileArtifactGlobber {
|
||||||
constructor(globber = new Globber_1.FileGlobber()) {
|
constructor(globber = new Globber_1.FileGlobber()) {
|
||||||
this.globber = globber;
|
this.globber = globber;
|
||||||
@@ -40,6 +41,7 @@ class FileArtifactGlobber {
|
|||||||
const split = /[,\n]/;
|
const split = /[,\n]/;
|
||||||
return artifact.split(split)
|
return artifact.split(split)
|
||||||
.map(path => path.trimStart())
|
.map(path => path.trimStart())
|
||||||
|
.map(path => PathNormalizer_1.PathNormalizer.normalizePath(path))
|
||||||
.map(path => FileArtifactGlobber.expandPath(path))
|
.map(path => FileArtifactGlobber.expandPath(path))
|
||||||
.map(pattern => this.globPattern(pattern, errorsFailBuild))
|
.map(pattern => this.globPattern(pattern, errorsFailBuild))
|
||||||
.map((globResult) => FileArtifactGlobber.validatePattern(errorsFailBuild, globResult[1], globResult[0]))
|
.map((globResult) => FileArtifactGlobber.validatePattern(errorsFailBuild, globResult[1], globResult[0]))
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ exports.PathNormalizer = void 0;
|
|||||||
const path_1 = __importDefault(require("path"));
|
const path_1 = __importDefault(require("path"));
|
||||||
class PathNormalizer {
|
class PathNormalizer {
|
||||||
static normalizePath(pathString) {
|
static normalizePath(pathString) {
|
||||||
return path_1.default.resolve(pathString).split(path_1.default.sep).join("/");
|
return pathString.split(path_1.default.sep).join("/");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exports.PathNormalizer = PathNormalizer;
|
exports.PathNormalizer = PathNormalizer;
|
||||||
|
|||||||
Reference in New Issue
Block a user