Fix write-hca.js and write-user.js, and remove write-config.js. Fixes #627.

This commit is contained in:
László Monda
2018-05-19 20:59:11 +02:00
parent 55eef50da7
commit 5d23ad1c9e
3 changed files with 4 additions and 28 deletions

View File

@@ -12,7 +12,8 @@ if (layout !== 'iso' && layout !== 'ansi') {
process.exit(1);
}
uhk.writeHca(layout === 'iso')
const device = uhk.getUhkDevice();
uhk.writeHca(device, layout === 'iso')
.catch((err)=>{
console.error(err);
});