fix deploy query

This commit is contained in:
Peli de Halleux 2016-03-27 21:53:38 -07:00
parent 0990849136
commit eb0dbe74df

View File

@ -26,7 +26,7 @@ export function deployCoreAsync(res: ts.ks.CompileResult) {
function getBitDrivesAsync(): Promise<string[]> { function getBitDrivesAsync(): Promise<string[]> {
if (process.platform == "win32") { if (process.platform == "win32") {
return execAsync("wmic PATH Win32_LogicalDisk get Device ID, VolumeName, FileSystem") return execAsync("wmic PATH Win32_LogicalDisk get DeviceID, VolumeName, FileSystem")
.then(buf => { .then(buf => {
let res: string[] = [] let res: string[] = []
buf.toString("utf8").split(/\n/).forEach(ln => { buf.toString("utf8").split(/\n/).forEach(ln => {