From 7d0117bd28b53945e7deaee45a94a208283d2cce Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 17 Feb 2023 16:24:47 +0100 Subject: [PATCH] unneeded changes from dev --- Dockerfile | 14 ++------------ src/public/app/entities/fattribute.js | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 745881e65..fe88bfb02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,16 +21,6 @@ RUN set -x \ nasm \ libpng-dev \ python3 \ - build-base \ - cairo-dev \ - jpeg-dev \ - pango-dev \ - musl-dev \ - giflib-dev \ - pixman-dev \ - pangomm-dev \ - libjpeg-turbo-dev \ - freetype-dev \ && npm install \ && apk del .build-dependencies \ && npm run webpack \ @@ -39,8 +29,8 @@ RUN set -x \ && cp -r src/public/app/doc_notes src/public/app-dist/. \ && rm -rf src/public/app -# Some tools need to be kept -RUN apk add --no-cache su-exec shadow pango libjpeg giflib +# Some setup tools need to be kept +RUN apk add --no-cache su-exec shadow # Add application user and setup proper volume permissions RUN adduser -s /bin/false node; exit 0 diff --git a/src/public/app/entities/fattribute.js b/src/public/app/entities/fattribute.js index dc57a6e3d..ce166e038 100644 --- a/src/public/app/entities/fattribute.js +++ b/src/public/app/entities/fattribute.js @@ -42,7 +42,7 @@ class FAttribute { get targetNoteId() { // alias if (this.type !== 'relation') { - throw new Error(`FAttribute ${this.attributeId} is not a relation`); + throw new Error(`Attribute ${this.attributeId} is not a relation`); } return this.value;