how can i set env variable to file in current dire...
# prisma-whats-new
m
how can i set env variable to file in current directory If i write full path.
Copy code
hello:
    handler:
      code:
        src: src/hello.js
        environment:
          FILE_PATH: /var/faas/functions/cjap0vfj600020132eqeglvqz/hello/src/ohter_file.json
but does not work if i write related path
Copy code
hello:
  handler:
    code:
      src: src/hello.js
      environment:
        FILE_PATH: ./src/ohter_file.json
I also tried
src/other_file.json
,
other_file.json
,
./other_file.json
. import(‘fs’) shows
other_file.json
and
hello.js
are located under
/var/faas/functions/cjap0vfj600020132eqeglvqz/hello/src
I can go with full path option. But my concern is if full path changes?