Skip to content

Commit

Permalink
Add swiftlint format
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang committed Nov 7, 2023
1 parent 32f1f31 commit feb65a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/SwiftLint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:
echo "No Swift files to lint."
else
echo "Linting changed Swift files..."
swiftlint --config dydx/.swiftlint.yml --fix lint -- $SWIFT_FILES
swiftlint --config dydx/.swiftlint.yml --fix --format lint -- $SWIFT_FILES
fi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import dydxStateManager
import Abacus

public class dydxMarketInfoViewBuilder: NSObject, ObjectBuilderProtocol {
public func build<T>() -> T? {
public func build<T>() -> T? {
let presenter = dydxMarketInfoViewPresenter()
let view = presenter.viewModel?.createView() ?? PlatformViewModel().createView()
let viewController = dydxMarketInfoViewController(presenter: presenter, view: view, configuration: .nav)
Expand Down

0 comments on commit feb65a9

Please sign in to comment.