Skip to content

Commit

Permalink
Merge branch 'Hotfix'
Browse files Browse the repository at this point in the history
# Conflicts:
#	package.json
  • Loading branch information
bikenik committed Jun 1, 2020
2 parents c0894fd + b8335d1 commit b599c97
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint new-cap: ["error", { "capIsNew": false }] */
/* eslint import/no-unresolved: [2, { commonjs: false, amd: false }] */
/* eslint-disable node/prefer-promises/fs */
'use strict'
const fs = require('fs')
const alfy = require('alfy')
Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3080,7 +3080,7 @@ custome translate</string>
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>1.4.0</string>
<string>1.4.1</string>
<key>webaddress</key>
<string>https://github.com/bikenik/alfred-lingualeo#readme</string>
</dict>
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "alfred-lingualeo",
<<<<<<< HEAD
"version": "1.4.0",
||||||| merged common ancestors
"version": "1.3.1",
=======
"version": "1.4.1",
>>>>>>> Hotfix
"description": "lingualeo dictionary",
"license": "MIT",
"repository": "bikenik/alfred-lingualeo",
Expand All @@ -10,7 +16,7 @@
"url": "http://bikenik.org"
},
"engines": {
"node": ">=7.6"
"node": ">=12.6"
},
"scripts": {
"test": "xo",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$ npm install --global alfred-lingualeo
```

*Requires: [Node.js](https://nodejs.org) 7.6+, Alfred [Powerpack](https://www.alfredapp.com/powerpack/)., account [LinguaLeo](https://lingualeo.com)*
*Requires: [Node.js](https://nodejs.org) 12.6+, Alfred [Powerpack](https://www.alfredapp.com/powerpack/)., account [LinguaLeo](https://lingualeo.com)*

## Preview / Usage

Expand Down
1 change: 1 addition & 0 deletions src/api/dictionary.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint camelcase: ["error", {properties: "never"}] */
/* eslint new-cap: ["error", { "capIsNew": false }] */
/* eslint-disable node/prefer-promises/fs */
'use strict'
const fs = require('fs')
const alfy = require('alfy')
Expand Down
2 changes: 0 additions & 2 deletions src/api/refresh-data/user-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ const WorkflowError = require('../../utils/error')
module.exports = () => {
const doLogin = async (user, pw) => {
let response1
user = '2bikenik@gmail.com'
pw = 'ajxCbiB2mPndE'
try {
response1 = await got.get(`https://lingualeo.com/api/login?email=${user}&password=${pw}`)
const userInfo = JSON.parse(response1.body)
Expand Down

0 comments on commit b599c97

Please sign in to comment.