diff --git a/.github/workflows/SwiftLint.yml b/.github/workflows/SwiftLint.yml index fc1e4b1e9..a599cf6b1 100644 --- a/.github/workflows/SwiftLint.yml +++ b/.github/workflows/SwiftLint.yml @@ -41,8 +41,8 @@ jobs: echo "Linting changed Swift files..." swiftlint --config dydx/.swiftlint.yml --fix --format lint -- $SWIFT_FILES fi - if ! git diff --cached --quiet; then + # if ! git diff --cached --quiet; then git add . git commit -am "SwiftLint" git push - fi + # fi diff --git a/dydx/dydxPresenters/dydxPresenters/_v4/MarketInfo/dydxMarketInfoViewBuilder.swift b/dydx/dydxPresenters/dydxPresenters/_v4/MarketInfo/dydxMarketInfoViewBuilder.swift index 952f66b1f..f944e9847 100644 --- a/dydx/dydxPresenters/dydxPresenters/_v4/MarketInfo/dydxMarketInfoViewBuilder.swift +++ b/dydx/dydxPresenters/dydxPresenters/_v4/MarketInfo/dydxMarketInfoViewBuilder.swift @@ -16,7 +16,7 @@ import dydxStateManager import Abacus public class dydxMarketInfoViewBuilder: NSObject, ObjectBuilderProtocol { - public func build() -> T? { + public func build() -> T? { let presenter = dydxMarketInfoViewPresenter() let view = presenter.viewModel?.createView() ?? PlatformViewModel().createView() let viewController = dydxMarketInfoViewController(presenter: presenter, view: view, configuration: .nav)