File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,15 @@ export interface AutoFixResult {
66 addedExample : string [ ] ;
77}
88
9+ /**
10+ * Prints the result of the auto-fix operation.
11+ * @param changed - Whether any changes were made.
12+ * @param result - The result of the auto-fix operation.
13+ * @param envName - The name of the environment file.
14+ * @param exampleName - The name of the example file.
15+ * @param json - Whether to output in JSON format.
16+ * @returns void
17+ */
918export function printAutoFix (
1019 changed : boolean ,
1120 result : AutoFixResult ,
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ type GitignoreWarningOptions = {
66 log ?: ( msg : string ) => void ;
77} ;
88
9+ /**
10+ * Logs a warning about .env not being ignored by Git.
11+ * @param options - Options for the gitignore warning.
12+ * @returns void
13+ */
914export function printGitignoreWarning ( options : GitignoreWarningOptions ) : void {
1015 const { envFile, reason, log = console . log } = options ;
1116
You can’t perform that action at this time.
0 commit comments