diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-27 17:38:06 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-27 17:38:06 +0800 |
commit | 4ac43a9fd2d3cc75b4f9aed92d85f722f28d34cb (patch) | |
tree | 2561c96e51e41040d3239758ac6033b6806c7ecb | |
parent | cc77d1dd496f681313251cf65550e157467934ab (diff) | |
download | dexon-sol-tools-4ac43a9fd2d3cc75b4f9aed92d85f722f28d34cb.tar.gz dexon-sol-tools-4ac43a9fd2d3cc75b4f9aed92d85f722f28d34cb.tar.zst dexon-sol-tools-4ac43a9fd2d3cc75b4f9aed92d85f722f28d34cb.zip |
Try relative to root dir
-rw-r--r-- | packages/sra-spec/src/md/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/sra-spec/src/md/index.ts b/packages/sra-spec/src/md/index.ts index d82e7061f..b32cba6f4 100644 --- a/packages/sra-spec/src/md/index.ts +++ b/packages/sra-spec/src/md/index.ts @@ -1,5 +1,7 @@ import { readFileSync } from 'fs'; +console.log('DIR', __dirname); + export const md = { - introduction: readFileSync('introduction.md').toString(), + introduction: readFileSync('lib/md/introduction.md').toString(), }; |