Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang committed Nov 7, 2023
1 parent a39447c commit ce99e14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/SwiftLint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
echo "Linting changed Swift files..."
swiftlint --config dydx/.swiftlint.yml --fix --format lint -- $SWIFT_FILES
fi
git commit -am "SwiftLint"
git push
if [ 'git diff --quiet HEAD` -eq 1 ]; then
git commit -am "SwiftLint"
git push
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 ce99e14

Please sign in to comment.