Skip to content

HAMUR_W1197: A HAMUR_PUBLIC_ variable is both inlined and read at run time

A HAMUR_PUBLIC_ variable is both inlined and read at run time. Warning HAMUR_W1197 belongs to hamur, scan, build and dev (1001 – 1999). It is retired: nothing writes it any more.

Message

text
HAMUR_W1197 HAMUR_PUBLIC_<KEY> is inlined by import.meta.env and also overrides runtimeConfig.public.<key> at run time; the two values can differ per deploy

Cause

A HAMUR_PUBLIC_<KEY> variable is inlined by import.meta.env, and it also overrides runtimeConfig.public.<key> at run time. The two values can differ per deploy.

Fix

Use one of the two.