Removed the path.join on srcDir and targetPath in order to fix absolute path
This commit is contained in:
committed by
Artur
parent
b55b3344de
commit
a7fd499098
@@ -48,7 +48,7 @@ export class GitVersionTool extends DotnetTool implements IGitVersionTool {
|
||||
workDir = srcDir
|
||||
} else {
|
||||
if (this.buildAgent.directoryExists(targetPath)) {
|
||||
workDir = path.join(srcDir, targetPath)
|
||||
workDir = targetPath
|
||||
} else {
|
||||
throw new Error('Directory not found at ' + targetPath)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user