azure-pipelines-task-lib
Advanced tools
Comparing version 4.7.0 to 4.8.0
@@ -15,2 +15,6 @@ import vm = require('./vault'); | ||
export declare var _vault: vm.Vault; | ||
export declare enum IssueSource { | ||
CustomerScript = "CustomerScript", | ||
TaskInternal = "TaskInternal" | ||
} | ||
export declare function _startsWith(str: string, start: string): boolean; | ||
@@ -55,4 +59,4 @@ export declare function _endsWith(str: string, end: string): boolean; | ||
export declare function _command(command: string, properties: any, message: string): void; | ||
export declare function _warning(message: string): void; | ||
export declare function _error(message: string): void; | ||
export declare function _warning(message: string, source?: IssueSource): void; | ||
export declare function _error(message: string, source?: IssueSource): void; | ||
export declare function _debug(message: string): void; | ||
@@ -59,0 +63,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports._exposeCertSettings = exports._exposeProxySettings = exports._normalizeSeparators = exports._isRooted = exports._getDirectoryName = exports._ensureRooted = exports._isUncPath = exports._loadData = exports._ensurePatternRooted = exports._getFindInfoFromPattern = exports._cloneMatchOptions = exports._legacyFindFiles_convertPatternToRegExp = exports._which = exports._checkPath = exports._exist = exports._debug = exports._error = exports._warning = exports._command = exports._getVariableKey = exports._getVariable = exports._loc = exports._setResourcePath = exports._setErrStream = exports._setStdStream = exports._writeLine = exports._endsWith = exports._startsWith = exports._vault = exports._knownVariableMap = void 0; | ||
exports._exposeCertSettings = exports._exposeProxySettings = exports._normalizeSeparators = exports._isRooted = exports._getDirectoryName = exports._ensureRooted = exports._isUncPath = exports._loadData = exports._ensurePatternRooted = exports._getFindInfoFromPattern = exports._cloneMatchOptions = exports._legacyFindFiles_convertPatternToRegExp = exports._which = exports._checkPath = exports._exist = exports._debug = exports._error = exports._warning = exports._command = exports._getVariableKey = exports._getVariable = exports._loc = exports._setResourcePath = exports._setErrStream = exports._setStdStream = exports._writeLine = exports._endsWith = exports._startsWith = exports.IssueSource = exports._vault = exports._knownVariableMap = void 0; | ||
var fs = require("fs"); | ||
@@ -24,2 +24,10 @@ var path = require("path"); | ||
//----------------------------------------------------- | ||
// Enums | ||
//----------------------------------------------------- | ||
var IssueSource; | ||
(function (IssueSource) { | ||
IssueSource["CustomerScript"] = "CustomerScript"; | ||
IssueSource["TaskInternal"] = "TaskInternal"; | ||
})(IssueSource = exports.IssueSource || (exports.IssueSource = {})); | ||
//----------------------------------------------------- | ||
// Validation Checks | ||
@@ -252,8 +260,8 @@ //----------------------------------------------------- | ||
exports._command = _command; | ||
function _warning(message) { | ||
_command('task.issue', { 'type': 'warning' }, message); | ||
function _warning(message, source) { | ||
_command('task.issue', { 'type': 'warning', 'source': source }, message); | ||
} | ||
exports._warning = _warning; | ||
function _error(message) { | ||
_command('task.issue', { 'type': 'error' }, message); | ||
function _error(message, source) { | ||
_command('task.issue', { 'type': 'error', 'source': source }, message); | ||
} | ||
@@ -260,0 +268,0 @@ exports._error = _error; |
{ | ||
"name": "azure-pipelines-task-lib", | ||
"version": "4.7.0", | ||
"version": "4.8.0", | ||
"description": "Azure Pipelines Task SDK", | ||
@@ -5,0 +5,0 @@ "main": "./task.js", |
@@ -35,2 +35,3 @@ /// <reference types="node" /> | ||
} | ||
export declare const IssueSource: typeof im.IssueSource; | ||
/** Platforms supported by our build agent */ | ||
@@ -37,0 +38,0 @@ export declare enum Platform { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
419511
7439