Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use the depext subcommand if it's not required #786

Merged
merged 1 commit into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lint-fmt/dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19996,7 +19996,7 @@ var core = __toESM(require_core());
var import_exec2 = __toESM(require_exec());
async function installOcamlformat(version2) {
await core.group("Install ocamlformat", async () => {
await (0, import_exec2.exec)("opam", ["depext", "--install", `ocamlformat=${version2}`]);
await (0, import_exec2.exec)("opam", ["install", `ocamlformat=${version2}`]);
});
}

Expand Down
2 changes: 1 addition & 1 deletion lint-opam/dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19978,7 +19978,7 @@ async function installOpamPackages() {
}
async function installOpamDuneLint() {
await core.group("Install opam-dune-lint", async () => {
await (0, import_exec2.exec)("opam", ["depext", "--install", "opam-dune-lint"]);
await (0, import_exec2.exec)("opam", ["install", "opam-dune-lint"]);
});
}

Expand Down
2 changes: 1 addition & 1 deletion packages/lint-fmt/src/opam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { exec } from "@actions/exec";

export async function installOcamlformat(version: string) {
await core.group("Install ocamlformat", async () => {
await exec("opam", ["depext", "--install", `ocamlformat=${version}`]);
await exec("opam", ["install", `ocamlformat=${version}`]);
});
}
2 changes: 1 addition & 1 deletion packages/lint-opam/src/opam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export async function installOpamPackages() {

export async function installOpamDuneLint() {
await core.group("Install opam-dune-lint", async () => {
await exec("opam", ["depext", "--install", "opam-dune-lint"]);
await exec("opam", ["install", "opam-dune-lint"]);
});
}
Loading