Skip to content

Commit 606e551

Browse files
committed
Cleanup constants
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 809f121 commit 606e551

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

dist/index.js

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post/index.js

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/setup-ocaml/src/constants.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,9 @@ const OCAML_COMPILER = core.getInput("ocaml-compiler", { required: true });
9898

9999
export const OPAM_DISABLE_SANDBOXING =
100100
// [TODO] unlock this once sandboxing is supported on Windows
101-
PLATFORM === "windows"
102-
? true
103-
: core.getBooleanInput("opam-disable-sandboxing");
101+
PLATFORM !== "windows" && core.getBooleanInput("opam-disable-sandboxing");
104102

105-
export const OPAM_LOCAL_PACKAGES = core.getInput("opam-local-packages", {});
103+
export const OPAM_LOCAL_PACKAGES = core.getInput("opam-local-packages");
106104

107105
export const OPAM_PIN = core.getBooleanInput("opam-pin");
108106

0 commit comments

Comments
 (0)