From 54194c97731f948db93c53a2ec8e946e4c8674dd Mon Sep 17 00:00:00 2001 From: Rui Date: Mon, 6 Nov 2023 18:29:52 -0800 Subject: [PATCH] Fix --- .github/workflows/SwiftLint.yml | 1 + .../_v4/MarketInfo/dydxMarketInfoViewBuilder.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/SwiftLint.yml b/.github/workflows/SwiftLint.yml index 53132399f..fc1e4b1e9 100644 --- a/.github/workflows/SwiftLint.yml +++ b/.github/workflows/SwiftLint.yml @@ -42,6 +42,7 @@ jobs: swiftlint --config dydx/.swiftlint.yml --fix --format lint -- $SWIFT_FILES fi if ! git diff --cached --quiet; then + git add . git commit -am "SwiftLint" git push fi diff --git a/dydx/dydxPresenters/dydxPresenters/_v4/MarketInfo/dydxMarketInfoViewBuilder.swift b/dydx/dydxPresenters/dydxPresenters/_v4/MarketInfo/dydxMarketInfoViewBuilder.swift index 013e9458b..952f66b1f 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)