pyranja / profile

My .dotfiles and utilities
The Unlicense
0 stars 0 forks source link

Initialize-PyProject fails when run from another directory #71

Open pyranja opened 6 years ago

pyranja commented 6 years ago
λ  Initialize-PyProject com.commend.sipt.health

    Directory: C:\Users\boch\projects\csipt

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       30.11.2017     23:33                com.commend.sipt.health
Initialized empty Git repository in C:/Users/boch/projects/csipt/com.commend.sipt.health/.git/
ForEach-Object : Exception calling "WriteAllText" with "3" argument(s): "Could not find a part of the path 'C:\Users\boch\com.commend.sipt.health\.editorconfig'."
At C:\Program Files\WindowsPowerShell\Modules\py-ps\0.1.115\Initialize-Project.ps1:123 char:61
+ ... ntent | ForEach-Object { $_.Replace("`r`n","`n") } | ForEach-Object {
+                                                          ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [ForEach-Object], MethodInvocationException
    + FullyQualifiedErrorId : DirectoryNotFoundException,Microsoft.PowerShell.Commands.ForEachObjectCommand