Auto-merge for PR #754 via VersionBot

Fix breakage in deploy command
This commit is contained in:
resin-io-versionbot[bot] 2018-01-11 11:32:17 +00:00 committed by GitHub
commit 4e41261237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 7 deletions

View File

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).
## v6.12.5 - 2018-01-11
* Fix breakage in deploy command from recent TS conversion #754 [Tim Perry]
## v6.12.4 - 2018-01-10
* Start using Prettier #753 [Tim Perry]

View File

@ -3,7 +3,7 @@ import _ = require('lodash');
import chalk from 'chalk';
import { StreamLogger } from 'resin-stream-logger';
export class Logger {
class Logger {
public streams: {
build: NodeJS.ReadWriteStream;
info: NodeJS.ReadWriteStream;
@ -62,3 +62,5 @@ export class Logger {
return this.streams.error.write(msg + eol);
}
}
export = Logger;

View File

@ -1,10 +1,10 @@
export async function buffer(
import Promise = require('bluebird');
import fs = require('fs');
export function buffer(
stream: NodeJS.ReadableStream,
bufferFile: string,
) {
const Promise = await import('bluebird');
const fs = await import('fs');
): Promise<NodeJS.ReadableStream> {
const fileWriteStream = fs.createWriteStream(bufferFile);
return new Promise(function(resolve, reject) {

View File

@ -1,6 +1,6 @@
{
"name": "resin-cli",
"version": "6.12.4",
"version": "6.12.5",
"description": "The official resin.io CLI tool",
"main": "./build/actions/index.js",
"homepage": "https://github.com/resin-io/resin-cli",