mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 22:44:21 +01:00
newline
This commit is contained in:
@@ -150,7 +150,7 @@ customElements.define('system-status', class extends HTMLElement {
|
||||
const profiles = Object.values(this.shellProfiles)
|
||||
if (profiles.length > 0) {
|
||||
for (const { filepath, hasPear } of profiles) {
|
||||
if (hasPear === false) fs.writeFileSync(filepath, this.statement, { flag: 'a' })
|
||||
if (hasPear === false) fs.writeFileSync(filepath, '\n' + this.statement + '\n', { flag: 'a' })
|
||||
}
|
||||
} else {
|
||||
const bash = this.paths.some((bin) => fs.existsSync(path.join(bin, 'bash')))
|
||||
|
||||
Reference in New Issue
Block a user