mirror of
https://github.com/desktop/desktop
synced 2024-09-19 16:12:20 +00:00
Add a newline
This commit is contained in:
parent
583dd13724
commit
8db3c11c2d
|
@ -96,7 +96,7 @@ export class StatsStore {
|
|||
|
||||
/** Record the given launch stats. */
|
||||
public async recordLaunchStats(stats: ILaunchStats) {
|
||||
Fs.appendFileSync(Path.resolve(OS.homedir(), 'desktop-launch-stats'), JSON.stringify({ date: new Date().toJSON(), ...stats }))
|
||||
Fs.appendFileSync(Path.resolve(OS.homedir(), 'desktop-launch-stats'), JSON.stringify({ date: new Date().toJSON(), ...stats }) + '\n')
|
||||
await this.db.launches.add(stats)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue