Skip to content

Commit d50f4fa

Browse files
Spiker985mauricioszabo
authored andcommitted
[atom-paths] Rename A[a]tom -> P[p]ulsar
1 parent 0c5d3e9 commit d50f4fa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/atom-paths.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ const getAppDirectory = () => {
2727

2828
module.exports = {
2929
setAtomHome: homePath => {
30-
// When a read-writeable .atom folder exists above app use that
31-
const portableHomePath = path.join(getAppDirectory(), '..', '.atom');
30+
// When a read-writeable .pulsar folder exists above app use that
31+
const portableHomePath = path.join(getAppDirectory(), '..', '.pulsar');
3232
if (fs.existsSync(portableHomePath)) {
3333
if (hasWriteAccess(portableHomePath)) {
3434
process.env.ATOM_HOME = portableHomePath;
3535
} else {
3636
// A path exists so it was intended to be used but we didn't have rights, so warn.
3737
console.log(
38-
`Insufficient permission to portable Atom home "${portableHomePath}".`
38+
`Insufficient permission to portable Pulsar home "${portableHomePath}".`
3939
);
4040
}
4141
}
@@ -46,7 +46,7 @@ module.exports = {
4646
}
4747

4848
// Fall back to default .atom folder in users home folder
49-
process.env.ATOM_HOME = path.join(homePath, '.atom');
49+
process.env.ATOM_HOME = path.join(homePath, '.pulsar');
5050
},
5151

5252
setUserData: app => {

0 commit comments

Comments
 (0)