diff --git a/hooks/post_new_hook.ps1 b/hooks/post_new_hook.ps1 index 16085e2..56f2124 100755 --- a/hooks/post_new_hook.ps1 +++ b/hooks/post_new_hook.ps1 @@ -21,7 +21,8 @@ if ($DO_DEBUG) { } function install_dependencies ($CWD, $SOURCE_DIR) { - Set-Location $SOURCE_DIR + $INSTALL_PATH = $SKILL_NAME + "\" +$SOURCE_DIR + Set-Location $INSTALL_PATH Invoke-Expression "npm install" 2>&1 | Out-Null $EXEC_RESULT = $? Set-Location $CWD @@ -50,4 +51,3 @@ if ($DO_DEBUG) { } exit 0 -