Skip to content

Commit

Permalink
build: use dirname (#19)
Browse files Browse the repository at this point in the history
PR Close #19
  • Loading branch information
sarunint committed Dec 12, 2017
1 parent 245e8cb commit 00be44e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/checker.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { readFileSync } from 'fs';
import { resolve } from 'path';

const lines = readFileSync('./result/vtbb.sct')
const lines = readFileSync(resolve(__dirname, '../result/vtbb.sct'))
.toString()
.split('\n')
.map(s => {
Expand Down

0 comments on commit 00be44e

Please sign in to comment.