-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
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.
Reactions are currently unavailable