Skip to content

patches/@capacitor+cli+8.0.1.patch #8317

@manrajidevi91

Description

@manrajidevi91

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @capacitor/cli@8.0.1 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@capacitor/cli/dist/util/template.js b/node_modules/@capacitor/cli/dist/util/template.js
index 9d0bbf8..2f93594 100644
--- a/node_modules/@capacitor/cli/dist/util/template.js
+++ b/node_modules/@capacitor/cli/dist/util/template.js
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
 exports.extractTemplate = void 0;
 const tslib_1 = require("tslib");
 const fs_extra_1 = require("fs-extra");
-const tar_1 = tslib_1.__importDefault(require("tar"));
+const { extract } = require("tar");
 async function extractTemplate(src, dir) {
     await (0, fs_extra_1.mkdirp)(dir);
-    await tar_1.default.extract({ file: src, cwd: dir });
+    await extract({ file: src, cwd: dir });
 }
 exports.extractTemplate = extractTemplate;

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions