liximomo/vscode-sftp

Unexpected token } in JSON sftp.json

seierup opened this issue · 0 comments

Hello

I just installed sftp and having some trouble getting started.

Notification:

**PROJECT FOLDER**/.vscode/sftp.json: Unexpected token } in JSON at position 347

Output

[03-19 09:08:50] [error] SyntaxError: **PROJECT FOLDER**/.vscode/sftp.json: Unexpected token } in JSON at position 347
	at JSON.parse (<anonymous>)
	at **/.vscode/extensions/liximomo.sftp-1.12.10/dist/extension.js:70:89202
	at **/.vscode/extensions/liximomo.sftp-1.12.10/dist/extension.js:1:10321
	at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3) 

My config

{
    "name": "Our Server",
    "host": "IP-ADRESS",
    "protocol": "ftp",
    "port": 21,
    "username": "OUR USERNAME",
    "password": "OUR PASSWORD",
    "remotePath": "/public_html/",
    "uploadOnSave": true,
    "watcher": {
        "files": "dist/*.{js,css}",
        "autoUpload": true,
        "autoDelete": true
    },
}