Fixed typos

This commit is contained in:
Markus Fleschutz 2025-06-06 10:22:45 +02:00
parent 330b13c72b
commit b17b3885b5
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
param([string]$path = "README.md")
try {
if (Test-Path "$path" -pathType leaf)) { throw "File '$path' is already existing" }
if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" }
$pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.md"
Copy-Item $pathToTemplate "$path"

View File

@ -17,7 +17,7 @@
param([string]$path = "bot.ps1")
try {
if (Test-Path "$path" -pathType leaf)) { throw "File '$path' is already existing" }
if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" }
$pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.ps1"
Copy-Item $pathToTemplate "$path"

View File

@ -17,7 +17,7 @@
param([string]$path = "README.txt")
try {
if (Test-Path "$path" -pathType leaf)) { throw "File '$path' is already existing" }
if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" }
$pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.txt"
Copy-Item $pathToTemplate "$path"