aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/tar/dist/commonjs/symlink-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tar/dist/commonjs/symlink-error.js')
-rw-r--r--node_modules/tar/dist/commonjs/symlink-error.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/node_modules/tar/dist/commonjs/symlink-error.js b/node_modules/tar/dist/commonjs/symlink-error.js
new file mode 100644
index 0000000..cc19ac1
--- /dev/null
+++ b/node_modules/tar/dist/commonjs/symlink-error.js
@@ -0,0 +1,19 @@
+"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 \ No newline at end of file