Visitar URL original
Say that `parseUserConfig`'s `pathInput` may not be a file path · github/codeql-action@9d3242e · GitHub
Skip to content

Commit 9d3242e

Browse files
henrymercerCopilot
andcommitted
Say that parseUserConfig's pathInput may not be a file path
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent e0b8480 commit 9d3242e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/config/db-config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ export function generateCodeScanningConfig(
638638
* Attempts to parse `contents` into a `UserConfig` value.
639639
*
640640
* @param logger The logger to use.
641-
* @param pathInput The path to the file where `contents` was obtained from, for use in error messages.
641+
* @param pathInput Where `contents` came from, such as the path to a file, for use in error messages.
642642
* @param contents The string contents of a YAML file to try and parse as a `UserConfig`.
643643
* @param validateConfig Whether to validate the configuration file against the schema.
644644
* @returns The `UserConfig` corresponding to `contents`, if parsing was successful.

0 commit comments

Comments
 (0)