webservices/node_modules/tar/dist/commonjs/symlink-error.js

19 lines
No EOL
528 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SymlinkError = void 0;
class SymlinkError extends Error {
path;
symlink;
syscall = 'symlink';
code = 'TAR_SYMLINK_ERROR';
constructor(symlink, path) {
super('TAR_SYMLINK_ERROR: Cannot extract through symbolic link');
this.symlink = symlink;
this.path = path;
}
get name() {
return 'SymlinkError';
}
}
exports.SymlinkError = SymlinkError;
//# sourceMappingURL=symlink-error.js.map