@@ -843,53 +843,29 @@ task("vfs-errors", function () {
843843} , { async : true } ) ;
844844
845845task ( "vfs-path" , [ "vfs-core" , "vfs-errors" ] , function ( ) {
846- if ( process . env . INSTALL_PRIVATE_DEPS ) {
847- execNpmInstall ( [ "file:scripts/vfs-core" , "file:scripts/vfs-errors" ] , function ( error ) {
848- if ( error ) return fail ( error ) ;
849- compile ( ) ;
850- } ) ;
851- }
852- else {
853- compile ( ) ;
854- }
855-
856- function compile ( ) {
857- var startCompileTime = mark ( ) ;
858- execCompiler ( /*useBuiltCompiler*/ false , [ "-p" , "scripts/vfs-path/tsconfig.json" ] , function ( error ) {
859- if ( error ) {
860- fail ( "Compilation unsuccessful." ) ;
861- }
862- else {
863- complete ( ) ;
864- }
865- measure ( startCompileTime ) ;
866- } ) ;
867- }
846+ var startCompileTime = mark ( ) ;
847+ execCompiler ( /*useBuiltCompiler*/ false , [ "-p" , "scripts/vfs-path/tsconfig.json" ] , function ( error ) {
848+ if ( error ) {
849+ fail ( "Compilation unsuccessful." ) ;
850+ }
851+ else {
852+ complete ( ) ;
853+ }
854+ measure ( startCompileTime ) ;
855+ } ) ;
868856} , { async : true } ) ;
869857
870858task ( "vfs" , [ "vfs-core" , "vfs-errors" , "vfs-path" , "typemock" ] , function ( ) {
871- if ( process . env . INSTALL_PRIVATE_DEPS ) {
872- execNpmInstall ( [ "file:scripts/vfs-path" , "file:scripts/typemock" ] , function ( error ) {
873- if ( error ) return fail ( error ) ;
874- compile ( ) ;
875- } ) ;
876- }
877- else {
878- compile ( ) ;
879- }
880-
881- function compile ( ) {
882- var startCompileTime = mark ( ) ;
883- execCompiler ( /*useBuiltCompiler*/ false , [ "-p" , "scripts/vfs/tsconfig.json" ] , function ( error ) {
884- if ( error ) {
885- fail ( "Compilation unsuccessful." ) ;
886- }
887- else {
888- complete ( ) ;
889- }
890- measure ( startCompileTime ) ;
891- } ) ;
892- }
859+ var startCompileTime = mark ( ) ;
860+ execCompiler ( /*useBuiltCompiler*/ false , [ "-p" , "scripts/vfs/tsconfig.json" ] , function ( error ) {
861+ if ( error ) {
862+ fail ( "Compilation unsuccessful." ) ;
863+ }
864+ else {
865+ complete ( ) ;
866+ }
867+ measure ( startCompileTime ) ;
868+ } ) ;
893869} , { async : true } ) ;
894870
895871task ( "private-packages" , [ "typemock" , "vfs" ] ) ;
0 commit comments