From f9630d30653d8e79f6933859298acce09ffb6e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20G=C3=B6kkaya?= Date: Sun, 11 Jun 2023 02:37:02 +0300 Subject: [PATCH] fix: fixed dotenv not running on first launch (#4) --- module/Dotenv.psd1 | 2 +- module/Dotenv.psm1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/Dotenv.psd1 b/module/Dotenv.psd1 index 2d07816..ebc30b8 100644 --- a/module/Dotenv.psd1 +++ b/module/Dotenv.psd1 @@ -1,6 +1,6 @@ @{ RootModule = "Dotenv.psm1" - ModuleVersion = "1.0.0" + ModuleVersion = "1.0.1" Author = "Taylan Gökkaya" CompatiblePSEditions = @("Core") GUID = '3bb5d7a3-985c-4d74-a329-8dddb075e322' diff --git a/module/Dotenv.psm1 b/module/Dotenv.psm1 index 209caa5..4b7f042 100644 --- a/module/Dotenv.psm1 +++ b/module/Dotenv.psm1 @@ -8,7 +8,7 @@ $ExecutionContext.SessionState.Module.OnRemove += { } } -[string]$lastdir = $pwd.providerpath +[string]$lastdir = "" function Clear-DotenvJobs { Get-Job -State Completed `