Skip to content

Commit

Permalink
4.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Mar 17, 2024
1 parent 2ed6541 commit 3a17c78
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ import PackageDescription
let package = Package(
name: "SomeProject",
dependencies: [
.package(url: "https://github.com/dankinsoid/VDFlow.git", from: "4.23.0")
.package(url: "https://github.com/dankinsoid/VDFlow.git", from: "4.24.0")
],
targets: [
.target(name: "SomeProject", dependencies: ["VDFlow"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/VDFlowMacros/StepsMacro.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public struct StepsMacro: MemberAttributeMacro, ExtensionMacro, MemberMacro, Acc
{
throw MacroError("`\(name): \(type)` must have default value or be optional")
}
return ["@StepID(.\(raw: name))"]
return ["@StepID(.\(raw: name)) // swiftformat:disable:next redundanttype varattributes"]
}

public static func expansion(
Expand Down
3 changes: 2 additions & 1 deletion Tests/VDFlowTests/VDFlowTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public struct OneStepSteps {

public lazy var someLazyInt = 0
public var someString: String
@Step var someStep: PickerSteps = .text1
@Step
var someStep: PickerSteps = .text1
}

struct SomeView: View {
Expand Down

0 comments on commit 3a17c78

Please sign in to comment.