diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-27 19:05:55 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-27 19:05:55 +0800 |
commit | e4fc8a84145d14084c389f5c4e8307e84ebf0c41 (patch) | |
tree | 1e18faac62a62e8026fe352743c863496ee8534c /packages/sra-spec/src/md/index.ts | |
parent | 907972c466b273c3defa7c30c2d78198dc2b3b16 (diff) | |
download | dexon-sol-tools-e4fc8a84145d14084c389f5c4e8307e84ebf0c41.tar dexon-sol-tools-e4fc8a84145d14084c389f5c4e8307e84ebf0c41.tar.gz dexon-sol-tools-e4fc8a84145d14084c389f5c4e8307e84ebf0c41.tar.bz2 dexon-sol-tools-e4fc8a84145d14084c389f5c4e8307e84ebf0c41.tar.lz dexon-sol-tools-e4fc8a84145d14084c389f5c4e8307e84ebf0c41.tar.xz dexon-sol-tools-e4fc8a84145d14084c389f5c4e8307e84ebf0c41.tar.zst dexon-sol-tools-e4fc8a84145d14084c389f5c4e8307e84ebf0c41.zip |
Use absolute path
Diffstat (limited to 'packages/sra-spec/src/md/index.ts')
-rw-r--r-- | packages/sra-spec/src/md/index.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/sra-spec/src/md/index.ts b/packages/sra-spec/src/md/index.ts index b32cba6f4..4e778e073 100644 --- a/packages/sra-spec/src/md/index.ts +++ b/packages/sra-spec/src/md/index.ts @@ -1,7 +1,5 @@ import { readFileSync } from 'fs'; -console.log('DIR', __dirname); - export const md = { - introduction: readFileSync('lib/md/introduction.md').toString(), + introduction: readFileSync(`${__dirname}/introduction.md`).toString(), }; |