Skip to content

Commit d8da2bc

Browse files
committed
Fix typo
1 parent ea47a07 commit d8da2bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Core/Sources/PromptToCodeService/PromptToCodeService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ public final class PromptToCodeService: ObservableObject {
4141
let api = promptToCodeAPI
4242
runningAPI = api
4343
isResponding = true
44-
let toBemodified = code
44+
let toBeModified = code
4545
oldDescription = description
4646
oldCode = code
4747
code = ""
4848
description = ""
4949
defer { isResponding = false }
5050
do {
5151
let stream = try await api.modifyCode(
52-
code: toBemodified,
52+
code: toBeModified,
5353
language: language,
5454
indentSize: indentSize,
5555
usesTabsForIndentation: usesTabsForIndentation,

0 commit comments

Comments
 (0)