🐛 Fix path to ssn-installer binary if included as a module

This commit is contained in:
C-3PO 2019-03-16 19:17:24 +01:00
parent b277d81aa1
commit ff5038cad3
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -2,7 +2,7 @@ import * as childProcess from 'child_process';
import * as fs from 'fs'; import * as fs from 'fs';
import * as path from 'path'; import * as path from 'path';
const processPath = path.join(__dirname, '../../../node_modules/.bin/ssn-installer'); const processPath = path.join(__dirname, '../../../../../node_modules/.bin/ssn-installer');
export default function launchProcess( export default function launchProcess(
diskFile: string, diskFile: string,