1
0
mirror of https://github.com/Azure/setup-helm.git synced 2026-07-07 08:51:37 +00:00
Files
setup-helm/node_modules/deprecation/dist-node/index.js
T
2021-03-17 11:08:51 +05:30

21 lines
417 B
JavaScript

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
class Deprecation extends Error {
constructor(message) {
super(message); // Maintains proper stack trace (only available on V8)
/* istanbul ignore next */
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
this.name = 'Deprecation';
}
}
exports.Deprecation = Deprecation;