File tree 1 file changed +2
-2
lines changed
unison-cli/src/Unison/CommandLine
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ import Unison.Util.Pretty.MegaParsec (prettyPrintParseError)
248
248
249
249
formatStructuredArgument :: Maybe Int -> StructuredArgument -> Text
250
250
formatStructuredArgument schLength = \ case
251
- SA. AbsolutePath path -> into @ Text $ show path
251
+ SA. AbsolutePath path -> Path. toText path
252
252
SA. Name name -> Name. toText name
253
253
SA. HashQualified hqName -> HQ. toText hqName
254
254
SA. Project projectName -> into @ Text projectName
@@ -288,7 +288,7 @@ formatStructuredArgument schLength = \case
288
288
<> if Text. null pathArgStr || Text. isSuffixOf " ." pathArgStr
289
289
then s
290
290
else " ." <> s
291
- pathArgStr = Text. pack $ show pathArg
291
+ pathArgStr = Path. toText pathArg
292
292
293
293
-- | Converts an arbitrary argument to a `String`.
294
294
--
You can’t perform that action at this time.
0 commit comments