Skip to content

Commit d261158

Browse files
committed
Bump changelog
1 parent ec43a09 commit d261158

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# FOSSA CLI Changelog
22

3+
## 3.11.4
4+
5+
- Stops logging a secret under `--x-snippet-scan`. ([#1579](https://github.com/fossas/fossa-cli/pull/1580))
6+
37
## 3.11.3
48

59
- Picks up the latest version of a dependency for `--x-snippet-scan`. ([#1579](https://github.com/fossas/fossa-cli/pull/1579))

src/App/Fossa/Ficus/Analyze.hs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ import Data.Hashable (Hashable)
3939
import Data.Maybe (mapMaybe)
4040
import Data.String.Conversion (ToText (toText), toString)
4141
import Data.Text (Text)
42-
import Data.Text qualified as T
4342
import Data.Text qualified as Text
4443
import Data.Text.Encoding qualified as Text.Encoding
4544
import Effect.Exec (AllowErr (Never), Command (..), renderCommand)
@@ -259,14 +258,14 @@ ficusCommand ficusConfig bin = do
259258

260259
maskApiKeyInCommand :: Text -> Text
261260
maskApiKeyInCommand cmdText =
262-
case T.splitOn " --secret " cmdText of
261+
case Text.splitOn " --secret " cmdText of
263262
[before, after] ->
264-
case T.words after of
263+
case Text.words after of
265264
(_ : rest) ->
266265
before
267266
<> " --secret "
268267
<> "******"
269-
<> if null rest then "" else " " <> T.unwords rest
268+
<> if null rest then "" else " " <> Text.unwords rest
270269
[] -> cmdText
271270
_ -> cmdText
272271

0 commit comments

Comments
 (0)