argumentsscope. Named parameters will be accessable as
arguments.name, and positional parameters as
arguments[ 1 ],
arguments.[ 2 ], etc.
fileSystemUtilobject that is available to all tasks via the BaseTask class. The method
resolvePath()will make the file system path canonical and absolute. This ensures you have a fully qualified path to work with even if a user might passed a folder relative to their current working directory passed something like
C:\sandbox\testSite, you would get that exact same path back as the output.
C:\sandboxdirectory and then ran the task with
testsiteas the input, the relative path would now still resolve to
testsite/foo/bar/../../, you would still get
C:\sandbox\testSiteas the path.