Skip to content

Try to help fix https://github.com/Homebrew/homebrew-core/pull/67721#5

Closed
kit-ty-kate wants to merge 1 commit intochenrui333:bump-ocaml-4.10.2from
kit-ty-kate:patch-2
Closed

Try to help fix https://github.com/Homebrew/homebrew-core/pull/67721#5
kit-ty-kate wants to merge 1 commit intochenrui333:bump-ocaml-4.10.2from
kit-ty-kate:patch-2

Conversation

@kit-ty-kate
Copy link
Copy Markdown

That's just a guess but in any case that sounds like a decent improvement anyway.

@sourcelevel-bot
Copy link
Copy Markdown

Hello, @kit-ty-kate! This is your first Pull Request that will be reviewed by SourceLevel, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.

args = []
args << "GIT_VERSION=#{version}"
system "opam", "config", "exec", "--", "make", *args
system "opam", "config", "exec", "--root=#{opam_dir}", "--", "make", *args
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

args = []
args << "GIT_VERSION=#{version}"
system "opam", "config", "exec", "--", "make", *args
system "opam", "config", "exec", "--root=#{opam_dir}", "--", "make", *args
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

args = []
args << "GIT_VERSION=#{version}"
system "opam", "config", "exec", "--", "make", *args
system "opam", "config", "exec", "--root=#{opam_dir}", "--", "make", *args
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

args = []
args << "GIT_VERSION=#{version}"
system "opam", "config", "exec", "--", "make", *args
system "opam", "config", "exec", "--root=#{opam_dir}", "--", "make", *args
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

args = []
args << "GIT_VERSION=#{version}"
system "opam", "config", "exec", "--", "make", *args
system "opam", "config", "exec", "--root=#{opam_dir}", "--", "make", *args
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

system "opam", "config", "exec", "--",
"opam", "install", "-y", "uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
system "opam", "install", "--root=#{opam_dir}", "-y",
"uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

system "opam", "config", "exec", "--",
"opam", "install", "-y", "uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
system "opam", "install", "--root=#{opam_dir}", "-y",
"uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

system "opam", "config", "exec", "--",
"opam", "install", "-y", "uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
system "opam", "install", "--root=#{opam_dir}", "-y",
"uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

system "opam", "config", "exec", "--",
"opam", "install", "-y", "uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
system "opam", "install", "--root=#{opam_dir}", "-y",
"uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.


system "opam", "config", "exec", "--",
"opam", "install", "-y", "uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
system "opam", "install", "--root=#{opam_dir}", "-y",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.


system "opam", "config", "exec", "--",
"opam", "install", "-y", "uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
system "opam", "install", "--root=#{opam_dir}", "-y",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.


system "opam", "config", "exec", "--",
"opam", "install", "-y", "uri.4.1.0", "qcow.0.11.0", "conduit.2.1.0", "lwt.5.3.0",
system "opam", "install", "--root=#{opam_dir}", "-y",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

system "opam", "init", "--disable-sandboxing", "--no-setup"
opam_dir = "#{buildpath}/.brew_home/.opam"
opam_dir = "#{buildpath}/.opam"
system "opam", "init", "--disable-sandboxing", "--no-setup", "--root=#{opam_dir}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

system "opam", "init", "--disable-sandboxing", "--no-setup"
opam_dir = "#{buildpath}/.brew_home/.opam"
opam_dir = "#{buildpath}/.opam"
system "opam", "init", "--disable-sandboxing", "--no-setup", "--root=#{opam_dir}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

system "opam", "init", "--disable-sandboxing", "--no-setup"
opam_dir = "#{buildpath}/.brew_home/.opam"
opam_dir = "#{buildpath}/.opam"
system "opam", "init", "--disable-sandboxing", "--no-setup", "--root=#{opam_dir}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

system "opam", "init", "--disable-sandboxing", "--no-setup"
opam_dir = "#{buildpath}/.brew_home/.opam"
opam_dir = "#{buildpath}/.opam"
system "opam", "init", "--disable-sandboxing", "--no-setup", "--root=#{opam_dir}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

Read more about it here.

@sourcelevel-bot
Copy link
Copy Markdown

SourceLevel has finished reviewing this Pull Request and has found:

  • 1 possible new issue (including those that may have been commented here).
  • 1 fixed issue! 🎉

See more details about this review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants