Skip to content

Commit 2243686

Browse files
author
Andrew Omondi
committed
chore: fix linux behaviour
1 parent 5d8bbe7 commit 2243686

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/copyFilesOnBuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Get-ChildItem '*' -Filter *.java -recurse | ForEach-Object {
2323
$TargetDirectory = $_.DirectoryName.Replace($fullPath, "")
2424
$TargetPath = Join-Path -Path $parentDirectory -ChildPath $TargetDirectory
2525
If (!(Test-Path $TargetPath)) {
26-
mkdir $TargetPath | out-null
26+
New-Item -Path $TargetPath -Type Directory -Force | out-null
2727
}
2828
$_ | Move-Item -Destination $TargetPath -Force
2929
}

0 commit comments

Comments
 (0)