unneeded changes from dev

This commit is contained in:
zadam 2023-02-17 16:24:47 +01:00
parent 956682f2c7
commit 7d0117bd28
2 changed files with 3 additions and 13 deletions

View File

@ -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

View File

@ -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;