codekingpro/portable-devtools
114k
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.SymlinkError = void 0;
4class SymlinkError extends Error {
5 path;
6 symlink;
7 syscall = 'symlink';
8 code = 'TAR_SYMLINK_ERROR';
9 constructor(symlink, path) {
10 super('TAR_SYMLINK_ERROR: Cannot extract through symbolic link');
11 this.symlink = symlink;
12 this.path = path;
13 }
14 get name() {
15 return 'SymlinkError';
16 }
17}
18exports.SymlinkError = SymlinkError;
19//# sourceMappingURL=symlink-error.js.map