Skip to content

Commit

Permalink
Merge pull request #710 from rgoldberg/709-imports
Browse files Browse the repository at this point in the history
Remove unnecessary imports
  • Loading branch information
rgoldberg authored Jan 12, 2025
2 parents a561259 + b1adc95 commit 609062f
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 17 deletions.
1 change: 0 additions & 1 deletion Sources/mas/AppStore/Downloader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// Copyright (c) 2015 Andrew Naylor. All rights reserved.
//

import CommerceKit
import PromiseKit
import StoreFoundation

Expand Down
1 change: 0 additions & 1 deletion Sources/mas/AppStore/ISStoreAccount.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import CommerceKit
import PromiseKit
import StoreFoundation

private let timeout = 30.0

Expand Down
1 change: 0 additions & 1 deletion Sources/mas/AppStore/PurchaseDownloadObserver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import CommerceKit
import PromiseKit
import StoreFoundation

private let downloadingPhase = 0 as Int64
private let installingPhase = 1 as Int64
Expand Down
1 change: 0 additions & 1 deletion Sources/mas/AppStore/SSPurchase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import CommerceKit
import PromiseKit
import StoreFoundation

extension SSPurchase {
func perform(appID: AppID, purchasing: Bool) -> Promise<Void> {
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Config.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import ArgumentParser
import CommerceKit
import Foundation

private let unknown = "unknown"

Expand Down
1 change: 0 additions & 1 deletion Sources/mas/Commands/Info.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

import ArgumentParser
import Foundation

extension MAS {
/// Displays app details. Uses the iTunes Lookup API:
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Install.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import ArgumentParser
import CommerceKit
import Foundation

extension MAS {
/// Installs previously purchased apps from the Mac App Store.
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Lucky.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import ArgumentParser
import CommerceKit
import Foundation

extension MAS {
/// Command which installs the first search result.
Expand Down
1 change: 0 additions & 1 deletion Sources/mas/Commands/Outdated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

import ArgumentParser
import Foundation
import PromiseKit

extension MAS {
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Purchase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import ArgumentParser
import CommerceKit
import Foundation

extension MAS {
struct Purchase: ParsableCommand {
Expand Down
1 change: 0 additions & 1 deletion Sources/mas/Controllers/AppStoreSearcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// Copyright © 2018 mas-cli. All rights reserved.
//

import Foundation
import PromiseKit

/// Protocol for searching the MAS catalog.
Expand Down
2 changes: 0 additions & 2 deletions Sources/mas/Formatters/AppListFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
// Copyright © 2019 mas-cli. All rights reserved.
//

import Foundation

/// Formats text output for the search command.
enum AppListFormatter {
static let idColumnMinWidth = 10
Expand Down
2 changes: 0 additions & 2 deletions Sources/mas/Formatters/SearchResultFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
// Copyright © 2019 mas-cli. All rights reserved.
//

import Foundation

/// Formats text output for the search command.
enum SearchResultFormatter {
/// Formats search results as text.
Expand Down
1 change: 0 additions & 1 deletion Sources/mas/Network/URL.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

import AppKit
import Foundation
import PromiseKit

extension URL {
Expand Down
1 change: 0 additions & 1 deletion Tests/masTests/Models/SoftwareProductSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// Copyright © 2018 mas-cli. All rights reserved.
//

import Foundation
import Nimble
import Quick

Expand Down

0 comments on commit 609062f

Please sign in to comment.