File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ const bundleAsMuchAsWeCan = {
5757 name : 'my-special-bundle' ,
5858 setup ( build ) {
5959 build . onResolve ( { filter : / ^ [ ^ . \/ ] | ^ \. [ ^ . \/ ] | ^ \. \. [ ^ \/ ] / } , args => {
60- if ( args . path . startsWith ( "azure-pipelines-task-lib" ) )
60+ console . log ( args . path ) ;
61+ console . log ( `args.resolveDir=${ args . resolveDir } ` ) ;
62+ if ( args . path . startsWith ( "azure-pipelines-tool-lib" ) || args . path . startsWith ( "azure-pipelines-task-lib" ) )
6163 return { path : args . path , external : true } ;
6264 } )
6365 } ,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function SetupTaskDependencies($workingDirectory) {
5858 $tempPath = " $basePath /modules" ;
5959
6060 mkdir " $tempPath /node_modules"
61- & npm install -- prefix $tempPath azure- pipelines- task- lib
61+ & npm install -- prefix $tempPath azure- pipelines- task- lib azure - pipelines - tool - lib
6262 & npm dedup -- prefix $tempPath
6363 & go install github.com / tj/ node- prune@latest
6464
You can’t perform that action at this time.
0 commit comments