diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 6cc34cc8..76725507 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -3,10 +3,9 @@ Thank you for reporting an issue. Please fill in the template below. If unsure about something, just do as best as you're able. --> -* **Version** (`cloudcmd -v`): -* **Node Version** `node -v`: -* **OS** (`uname -a` on Linux): -* **Browser name/version**: -* **Used Command Line Parameters**: -* **Changed Config**: - +- **Version** (`cloudcmd -v`): +- **Node Version** `node -v`: +- **OS** (`uname -a` on Linux): +- **Browser name/version**: +- **Used Command Line Parameters**: +- **Changed Config**: diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 98b1f1ad..96b7e2ed 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,4 +6,3 @@ about something, just do as best as you're able. - [ ] commit message named according to [Contributing Guide](https://github.com/coderaiser/cloudcmd/blob/master/CONTRIBUTING.md "Contributting Guide") - [ ] `npm run codestyle` is OK - [ ] `npm test` is OK - diff --git a/HELP.md b/HELP.md index 8f6f71ea..0ddabe63 100644 --- a/HELP.md +++ b/HELP.md @@ -955,11 +955,13 @@ First, locate the command to run cloudcmd ```sh which cloudcmd ``` + take note of the result and create a systemd entry by executing ```sh sudo nano /etc/systemd/system/cloudcmd.service ``` + and use this template ``` @@ -975,6 +977,7 @@ User = YOUR_USER [Install] WantedBy = multi-user.target ``` + Don't forget to change the line for `ExecStart` and `User` Save the changes and exit editor. @@ -998,6 +1001,7 @@ take note of the result and create a rc script ``` vi /usr/local/etc/rc.d/cloudcmd ``` + and use this template ``` @@ -1079,6 +1083,7 @@ There are a lot of ways to be involved in `Cloud Commander` development: - if you know a language not currently translated, or would like to improve an existing translation, you can help with [site translations](https://github.com/coderaiser/cloudcmd/wiki "Cloud Commander community wiki"); ## Version history + - *2021.02.03*, **[v15.6.0](//github.com/coderaiser/cloudcmd/releases/tag/v15.6.0)** - *2021.02.02*, **[v15.5.2](//github.com/coderaiser/cloudcmd/releases/tag/v15.5.2)** - *2021.01.31*, **[v15.5.1](//github.com/coderaiser/cloudcmd/releases/tag/v15.5.1)** diff --git a/README.md b/README.md index 64a488c5..5321cb81 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,6 @@ docker-compose up More documentation you can find on https://cloudcmd.io/. - ## Get involved There is a lot ways to be involved in `Cloud Commander` development: diff --git a/client/client.js b/client/client.js index 6ccff85b..e01d47a6 100644 --- a/client/client.js +++ b/client/client.js @@ -382,7 +382,12 @@ function CloudCmdProto(DOM) { noCurrent, } = options; - const names = ['file', 'path', 'link', 'pathLink']; + const names = [ + 'file', + 'path', + 'link', + 'pathLink', + ]; const [ error, diff --git a/client/key/vim/index.spec.js b/client/key/vim/index.spec.js index 675a8e63..d211e04b 100644 --- a/client/key/vim/index.spec.js +++ b/client/key/vim/index.spec.js @@ -26,8 +26,7 @@ const {Buffer} = DOM; const vim = require(pathVim); test('cloudcmd: client: key: set next file: no', (t) => { - const element = { - }; + const element = {}; const setCurrentFile = stub(); @@ -358,8 +357,7 @@ test('cloudcmd: client: key: set first file current: ^', (t) => { }); test('cloudcmd: client: key: visual', (t) => { - const element = { - }; + const element = {}; const toggleSelectedFile = stub(); @@ -374,8 +372,7 @@ test('cloudcmd: client: key: visual', (t) => { }); test('cloudcmd: client: key: ESC', (t) => { - const element = { - }; + const element = {}; const unselectFiles = stub(); diff --git a/server/route.spec.js b/server/route.spec.js index 1632d9c9..d8cd91bb 100644 --- a/server/route.spec.js +++ b/server/route.spec.js @@ -301,7 +301,7 @@ test('cloudcmd: route: sendIndex: encode: not encoded', async (t) => { }); test('cloudcmd: route: sendIndex: ddos: render', async (t) => { - const name = '$$$\'"'; + const name = `$$$'"`; const path = '/'; const files = [{ name, diff --git a/server/terminal.spec.js b/server/terminal.spec.js index 2a20f6cb..18574189 100644 --- a/server/terminal.spec.js +++ b/server/terminal.spec.js @@ -55,7 +55,7 @@ test('cloudcmd: terminal: enabled: no string', (t) => { console.log = originalLog; - const msg = 'cloudcmd --terminal: Cannot find module \'hello\''; + const msg = `cloudcmd --terminal: Cannot find module 'hello'`; const [arg] = log.args[0]; t.match(arg, RegExp(msg), 'should call with msg');