()
| 14006 | const n = (gitStatus.modified_files || []).length; |
| 14007 | warnings.push(`${n} local change${n === 1 ? '' : 's'} in /opt/pwnagotchi`); |
| 14008 | } |
| 14009 | if (gitStatus.has_stash) { |
| 14010 | warnings.push(`${gitStatus.stash_entries} stash ${gitStatus.stash_entries === 1 ? 'entry' : 'entries'} present`); |
| 14011 | } |
| 14012 | if (gitStatus.status_error) { |
| 14013 | warnings.push(gitStatus.status_error); |
| 14014 | } |
| 14015 | _setPwnUpdateWarnings(warnings); |
nothing calls this directly
no test coverage detected