Skip to content

Commit

Permalink
Merge branch 'hotfix/0.28.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
intitni committed Dec 4, 2023
2 parents bd0f17d + de2b382 commit b3a73bc
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Pro
Submodule Pro updated from 465473 to a33512
2 changes: 1 addition & 1 deletion Tool/Sources/GitIgnoreCheck/GitIgnoreCheck.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public struct DefaultGitIgnoredChecker: GitIgnoredChecker {
var isTest = false

var noCheck: Bool {
if isTest { return false }
if isTest { return true }
return UserDefaults.shared.value(for: \.disableGitIgnoreCheck)
}

Expand Down
2 changes: 1 addition & 1 deletion Tool/Sources/Preferences/Keys.swift
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ public extension UserDefaultPreferenceKeys {
}

var disableGitIgnoreCheck: FeatureFlag {
.init(defaultValue: false, key: "FeatureFlag-DisableGitIgnoreCheck")
.init(defaultValue: true, key: "FeatureFlag-DisableGitIgnoreCheck")
}

var disableEnhancedWorkspace: FeatureFlag {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public extension Workspace {

let filespace = createFilespaceIfNeeded(fileURL: fileURL)

guard !(await filespace.isGitIgnored) else { throw SuggestionFeatureDisabledError() }
guard !(await filespace.isGitIgnored) else { return [] }

if !editor.uti.isEmpty {
filespace.codeMetadata.uti = editor.uti
Expand Down
4 changes: 2 additions & 2 deletions Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APP_VERSION = 0.28.0
APP_BUILD = 290
APP_VERSION = 0.28.1
APP_BUILD = 291

12 changes: 12 additions & 0 deletions appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
<channel>
<title>Copilot for Xcode</title>

<item>
<title>0.28.1</title>
<pubDate>Mon, 04 Dec 2023 22:36:27 +0800</pubDate>
<sparkle:version>291</sparkle:version>
<sparkle:shortVersionString>0.28.1</sparkle:shortVersionString>
<sparkle:minimumSystemVersion>12.0</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>
https://github.com/intitni/CopilotForXcode/releases/tag/0.28.1
</sparkle:releaseNotesLink>
<enclosure url="https://github.com/intitni/CopilotForXcode/releases/download/0.28.1/Copilot.for.Xcode.app.zip" length="36956617" type="application/octet-stream" sparkle:edSignature="e2ck6UD02QCZXoAlYuvbfUd+YzXJ6d/+V5FdzKKY0C5+X8QdqoUHaUXFmf1keulF7IJD7GAiOVQ2ewrl/KYVCA=="/>
</item>

<item>
<title>0.28.0</title>
<pubDate>Mon, 04 Dec 2023 16:04:23 +0800</pubDate>
Expand Down

0 comments on commit b3a73bc

Please sign in to comment.