[英]Parenthesized by mix format
通過asdf安裝的macOS 10.13.6上的Elixir 1.7.3 (compiled with Erlang/OTP 19)
。
我將mix format lib/hello_web/router.ex
到以下代碼:
pipeline :browser do
plug :accepts, ["html"]
plug :fetch_session
plug :fetch_flash
plug :protect_from_forgery
plug :put_secure_browser_headers
end
結果如下:
pipeline :browser do
plug(:accepts, ["html"])
plug(:fetch_session)
plug(:fetch_flash)
plug(:protect_from_forgery)
plug(:put_secure_browser_headers)
end
為什么mix format
添加()
部分? 我配置錯誤了嗎? 如果是:如何解決?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.