keycloakify 10.0.0-rc.7 → 10.0.0-rc.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/main.js
CHANGED
@@ -2607,18 +2607,18 @@ function command(params) {
|
|
2607
2607
|
commandOutput = child_process.execSync("mvn --version", { "stdio": ["ignore", "pipe", "ignore"] });
|
2608
2608
|
}
|
2609
2609
|
catch (_c) { }
|
2610
|
-
if (
|
2610
|
+
if (commandOutput === null || commandOutput === void 0 ? void 0 : commandOutput.toString("utf8").includes("Apache Maven")) {
|
2611
2611
|
break exit_if_maven_not_installed;
|
2612
2612
|
}
|
2613
2613
|
installationCommand = (function () {
|
2614
2614
|
switch (os.platform()) {
|
2615
2615
|
case "darwin":
|
2616
|
-
return "brew install
|
2616
|
+
return "brew install mvn";
|
2617
2617
|
case "win32":
|
2618
|
-
return "choco install
|
2618
|
+
return "choco install mvn";
|
2619
2619
|
case "linux":
|
2620
2620
|
default:
|
2621
|
-
return "sudo apt-get install
|
2621
|
+
return "sudo apt-get install mvn";
|
2622
2622
|
}
|
2623
2623
|
})();
|
2624
2624
|
console.log("".concat(chalk_1.default.red("Apache Maven required."), " Install it with `").concat(chalk_1.default.bold(installationCommand), "` (for example)"));
|
@@ -52014,7 +52014,7 @@ ReadStream.prototype._read = function(n) {
|
|
52014
52014
|
}
|
52015
52015
|
self.context.pend.go(function(cb) {
|
52016
52016
|
if (self.destroyed) return cb();
|
52017
|
-
var buffer =
|
52017
|
+
var buffer = Buffer.allocUnsafe(toRead);
|
52018
52018
|
fs.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
|
52019
52019
|
if (err) {
|
52020
52020
|
self.destroy(err);
|
package/package.json
CHANGED
@@ -18,19 +18,19 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|
18
18
|
commandOutput = child_process.execSync("mvn --version", { "stdio": ["ignore", "pipe", "ignore"] });
|
19
19
|
} catch {}
|
20
20
|
|
21
|
-
if (
|
21
|
+
if (commandOutput?.toString("utf8").includes("Apache Maven")) {
|
22
22
|
break exit_if_maven_not_installed;
|
23
23
|
}
|
24
24
|
|
25
25
|
const installationCommand = (() => {
|
26
26
|
switch (os.platform()) {
|
27
27
|
case "darwin":
|
28
|
-
return "brew install
|
28
|
+
return "brew install mvn";
|
29
29
|
case "win32":
|
30
|
-
return "choco install
|
30
|
+
return "choco install mvn";
|
31
31
|
case "linux":
|
32
32
|
default:
|
33
|
-
return "sudo apt-get install
|
33
|
+
return "sudo apt-get install mvn";
|
34
34
|
}
|
35
35
|
})();
|
36
36
|
|