Per Persson

Results 6 issues of Per Persson

I think that to most people, 'reboot' means restarting a computer, not a program.

This makes an Unauthorized exception be thrown so that extra information can be added to the response by an `@app.errorhandler(401)`.

Move setting of `isWin` out to global scope. Add function for converting / to \ if it's on Windows.

Catch errors thrown from Dir.mkdir. The script died for me because directories already existed. This helped. I haven't investigated why I had several "Current Database" for the same database, so...

Instead of const commands = [ ... ]; disposables.push(...commands); one can simply use disposables.push( ... );