From f748523dde6a51309f2d0228e8b785861908dd90 Mon Sep 17 00:00:00 2001 From: Rui Date: Mon, 6 Nov 2023 18:40:25 -0800 Subject: [PATCH] test --- .github/workflows/SwiftLint.yml | 10 +++++----- .../_v4/MarketInfo/dydxMarketInfoViewBuilder.swift | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/SwiftLint.yml b/.github/workflows/SwiftLint.yml index a599cf6b1..4257c3355 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 - git add . - git commit -am "SwiftLint" - git push - # 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 f944e9847..b9716f4e6 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)