1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

package fixes

This commit is contained in:
Patrik J. Braun 2018-05-23 22:42:50 -04:00
parent a95cd837cd
commit 999ca21519
3 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@ dist: trusty
sudo: required sudo: required
language: node_js language: node_js
node_js: node_js:
- '9'
- '8' - '8'
- '9'
deploy: deploy:
provider: heroku provider: heroku

View File

@ -64,8 +64,8 @@ export class RenderingMWs {
if (err instanceof ErrorDTO) { if (err instanceof ErrorDTO) {
if (err.details) { if (err.details) {
Logger.warn('Handled error:', err);
if (!(req.session.user && req.session.user.role >= UserRoles.Developer)) { if (!(req.session.user && req.session.user.role >= UserRoles.Developer)) {
Logger.warn('Handled error:', err);
delete (err.details); delete (err.details);
} else { } else {
try { try {

View File

@ -105,7 +105,7 @@
"rimraf": "2.6.2", "rimraf": "2.6.2",
"run-sequence": "2.2.1", "run-sequence": "2.2.1",
"rxjs": "6.2.0", "rxjs": "6.2.0",
"rxjs-compat": "^6.1.0", "rxjs-compat": "^6.2.0",
"ts-helpers": "1.1.2", "ts-helpers": "1.1.2",
"ts-node": "6.0.3", "ts-node": "6.0.3",
"tslint": "5.10.0", "tslint": "5.10.0",
@ -119,6 +119,6 @@
"sharp": "0.20.2" "sharp": "0.20.2"
}, },
"engines": { "engines": {
"node": ">= 6.9" "node": ">= 6.9 <10.0"
} }
} }