Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 19b46bd

Browse files
committed
gulpfile: fixed issue where test-definitely-typed task wouldn't work properly on Windows
1 parent 7ad2635 commit 19b46bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ var minimist = require("minimist");
66
var child_process = require("child_process");
77
var rimraf = require("rimraf");
88
var fs = require("fs");
9+
var path = require("path");
910

1011
gulp.task("clean-tests", function()
1112
{
@@ -105,7 +106,7 @@ function run_dts2as(files, callback)
105106
console.error("Apache FlexJS SDK not found: " + flexHome);
106107
process.exit(1);
107108
}
108-
child_process.exec("bin/dts2as --flexHome " + flexHome + " --outSWC dts2astests_temp/test.swc " + files.join(" "),
109+
child_process.exec("node " + path.join("bin", "cli.js") + " --flexHome " + flexHome + " --outSWC " + path.join("dts2astests_temp", "test.swc") + " " + files.join(" "),
109110
{},
110111
function(error)
111112
{

0 commit comments

Comments
 (0)