mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-19 19:27:52 +02:00
Fixed typos
This commit is contained in:
parent
330b13c72b
commit
b17b3885b5
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user