protected override bool OnApply() { if (!isGitIgnored) { FileExtensions.AppendLines(gitIgnorePath, gitIgnoreLine); } return(true); }
protected override bool OnApply() { if (!isLinePresent) { FileExtensions.AppendLines(gitAttributesPath, LineEnding.LF, false, gitAttributesLine); OnApplied(); } return(true); }