@@ -77,7 +77,7 @@ internal struct Init: SwiftlyCommand {
7777 \( installMsg)
7878 """ )
7979
80- guard promptForConfirmation ( defaultBehavior: true ) else {
80+ guard SwiftlyCore . promptForConfirmation ( defaultBehavior: true ) else {
8181 throw SwiftlyError ( message: " Swiftly installation has been cancelled " )
8282 }
8383 }
@@ -93,7 +93,7 @@ internal struct Init: SwiftlyCommand {
9393 SwiftlyCore . print ( " \( swiftlyBinDir. appendingPathComponent ( executable) . path) " )
9494 }
9595
96- guard promptForConfirmation ( defaultBehavior: false ) else {
96+ guard SwiftlyCore . promptForConfirmation ( defaultBehavior: false ) else {
9797 throw SwiftlyError ( message: " Swiftly installation has been cancelled " )
9898 }
9999 }
@@ -201,8 +201,12 @@ internal struct Init: SwiftlyCommand {
201201 try FileManager . default. createDirectory ( at: confDir, withIntermediateDirectories: true )
202202 profileHome = confDir. appendingPathComponent ( " swiftly.fish " , isDirectory: false )
203203 } else {
204- let confDir = userHome. appendingPathComponent ( " .config/fish/conf.d " , isDirectory: true )
205- try FileManager . default. createDirectory ( at: confDir, withIntermediateDirectories: true )
204+ let confDir = userHome. appendingPathComponent (
205+ " .config/fish/conf.d " , isDirectory: true
206+ )
207+ try FileManager . default. createDirectory (
208+ at: confDir, withIntermediateDirectories: true
209+ )
206210 profileHome = confDir. appendingPathComponent ( " swiftly.fish " , isDirectory: false )
207211 }
208212 } else {
0 commit comments