diff --git a/buildtask/index.ts b/buildtask/index.ts index 391f4fd..e5160c9 100644 --- a/buildtask/index.ts +++ b/buildtask/index.ts @@ -3,7 +3,8 @@ import trm = require('azure-pipelines-task-lib/toolrunner'); async function run() { if (process.platform != 'win32') { - tl.setResult(tl.TaskResult.Failed, "System is " + process.platform + ". Only win32 is supported at the moment") + tl.setResult(tl.TaskResult.Failed, "System is " + process.platform + ". Only win32 is supported at the moment"); + return; } try {