[cleanup]: Added TODOs in the comments

This commit is contained in:
Magesh K
2024-12-13 15:26:11 +05:30
parent 3ea24fdfea
commit d045c0ed4d
5 changed files with 6 additions and 5 deletions

View File

@@ -159,8 +159,8 @@ final class FetchSourceOperation: ResultOperation<Source>
userInfo[NSDebugDescriptionErrorKey] = pathDescription
}
// @mahee96: Need to account for invalid/missing json fields error
// and show meaningful message to user instead of just showing decoder error
// TODO: @mahee96: Need to account for invalid/missing json fields error
// and show meaningful message to user instead of just showing decoder error
throw NSError(domain: nsError.domain, code: nsError.code, userInfo: userInfo)
}

View File

@@ -12,7 +12,7 @@ import AltStoreCore
private extension URL
{
// @mahee96: update this to a non-branch specific (prod-ready) location like github.io repo similar to anisette servers URL list
// TODO: @mahee96: update this to a non-branch specific (prod-ready) location like github.io repo similar to anisette servers URL list
#if STAGING
// static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/develop/trustedapps.json")!
static let sources = URL(string: "https://raw.githubusercontent.com/SideStore/SideStore/rebase-2.0-wip/trustedapps.json")!

View File

@@ -126,7 +126,7 @@ private extension VerifyAppOperation
if let buildVersion
{
// @mahee96: requires altsign-marketplace branch release or equivalent
// TODO: @mahee96: requires altsign-marketplace branch release or equivalent
// guard buildVersion == app.buildVersion else { throw VerificationError.mismatchedBuildVersion(app.buildVersion, expectedVersion: buildVersion, app: app) }
}
}