Comparing version 1.1.2-dev.20211115.1 to 1.1.2-dev.20211115.2
{ | ||
"name": "tsc-hooks", | ||
"version": "1.1.2-dev.20211115.1", | ||
"version": "1.1.2-dev.20211115.2", | ||
"description": "Add tsc compiler hooks to your TypeScript project", | ||
@@ -5,0 +5,0 @@ "main": "run.js", |
@@ -10,7 +10,7 @@ const path = require('path'); | ||
BIN_FILE.shift(), | ||
`require('${path.relative(path.dirname(TSC_BIN_PATH), INJECTION_PATH).replace(/\\/g, '/')}')`, | ||
`require('${path.relative(path.dirname(BIN_PATH), INJECTION_PATH).replace(/\\/g, '/')}')`, | ||
...BIN_FILE | ||
]; | ||
fs.writeFileSync(TSC_BIN_PATH, script.join('\n')); | ||
fs.writeFileSync(BIN_PATH, script.join('\n')); | ||
} |
151554