Skip to content

Commit ae1732b

Browse files
author
Colin Wahl
committed
fix some doc comments
1 parent 19a4078 commit ae1732b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/GitHub/Actions/Exec.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ type ExecOptions =
5050
, listeners :: Maybe ExecListeners
5151
}
5252

53-
-- Defaults for ExecOptions. Override as needed.
53+
-- | Defaults for ExecOptions. Override as needed.
5454
defaultExecOptions :: ExecOptions
5555
defaultExecOptions =
5656
{ cwd: Nothing
@@ -75,7 +75,7 @@ type ExecListeners =
7575
, debug :: Maybe (String -> Effect Unit)
7676
}
7777

78-
-- Defaults for ExecListeners. Override as needed.
78+
-- | Defaults for ExecListeners. Override as needed.
7979
defaultExecListeners :: ExecListeners
8080
defaultExecListeners =
8181
{ stdout: Nothing

src/GitHub/Actions/ToolCache.purs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ foreign import extractZip1Impl :: EffectFn1 FilePath (Promise FilePath)
192192

193193
foreign import extractZip2Impl :: EffectFn2 FilePath FilePath (Promise FilePath)
194194

195-
-- file: path to the zip
196-
-- dest: destination directory. Defaults to randomly generated path
195+
-- | file: path to the zip
196+
-- | dest: destination directory. Defaults to randomly generated path
197197
type ExtractZipArgs =
198198
{ file :: FilePath
199199
, dest :: Maybe FilePath
@@ -416,11 +416,11 @@ type GetManifestFromRepoArgs =
416416
, branch :: Maybe String
417417
}
418418

419-
-- Get list of releases from a repository
419+
-- | Get list of releases from a repository
420420
getManifestFromRepo' :: { owner :: String, repo :: String } -> ExceptT Error Aff (Array IToolRelease)
421421
getManifestFromRepo' { owner, repo } = getManifestFromRepo { owner, repo, auth: Nothing, branch: Nothing }
422422

423-
-- Get list of releases from a repository
423+
-- | Get list of releases from a repository
424424
getManifestFromRepo :: GetManifestFromRepoArgs -> ExceptT Error Aff (Array IToolRelease)
425425
getManifestFromRepo =
426426
handleOptions
@@ -438,18 +438,18 @@ foreign import findFromManifest3Impl :: EffectFn3 String Boolean (Array JSIToolR
438438

439439
foreign import findFromManifest4Impl :: EffectFn4 String Boolean (Array JSIToolRelease) String (Promise (Nullable JSIToolRelease))
440440

441-
-- versionSpec: version to search for
442-
-- stable: whether or not the release is stable
443-
-- manifest: manifests to search
444-
-- archFilter: architecture filter. Defaults to machine architecture
441+
-- | versionSpec: version to search for
442+
-- | stable: whether or not the release is stable
443+
-- | manifest: manifests to search
444+
-- | archFilter: architecture filter. Defaults to machine architecture
445445
type FindFromManifestArgs =
446446
{ versionSpec :: String
447447
, stable :: Boolean
448448
, manifest :: Array IToolRelease
449449
, archFilter :: Maybe String
450450
}
451451

452-
-- Search list of releases from a repository
452+
-- | Search list of releases from a repository
453453
findFromManifest :: FindFromManifestArgs -> ExceptT Error Aff (Maybe IToolRelease)
454454
findFromManifest =
455455
handleOptions

0 commit comments

Comments
 (0)