Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
5.0.3: Fixed loop when checking updates is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjornskjald committed Sep 29, 2019
2 parents df6f701 + 14ad375 commit ebdb4b8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [5.0.3] - 2019-09-29
### Fixed
- Fixed loop when checking updates is enabled

## [5.0.2] - 2019-09-29
### Fixed
- Fixed loop after Facebook failed login
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "miscord",
"version": "5.0.2",
"version": "5.0.3",
"description": "Facebook Messenger to Discord bridge",
"main": "src/index.ts",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions src/updateNotifier.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
const log = logger.withScope('updateNotifier')

import fs from 'fs-extra'
import semver from 'semver'
import chalk from 'chalk'
import fetch from 'node-fetch'

export default async () => {
const pkg = await fs.readJSON('../package.json')
const pkg = require('../package.json')

log.info('Checking for updates...')
let res
Expand Down

0 comments on commit ebdb4b8

Please sign in to comment.