From 448c515f131df6b9ce0b879e02dc3b16d3dac618 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 10 Feb 2015 13:09:05 -0400 Subject: [PATCH] Use os.install in resin-write --- bin/resin-write | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/resin-write b/bin/resin-write index 00c0692d..f3d07202 100644 --- a/bin/resin-write +++ b/bin/resin-write @@ -3,12 +3,12 @@ // http://coffeescript.org/documentation/docs/register.html require('coffee-script/register'); -var device = require('../lib/actions/device.coffee'); +var os = require('../lib/actions/os.coffee'); var errors = require('../lib/errors'); // TODO: Do some error handling when image or device are incorrect -device.init.action({ +os.install.action({ image: process.argv[2], device: process.argv[3] }, {