Skip to content

Commit

Permalink
Update post_new_hook.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
franklin-lobb committed Nov 20, 2018
1 parent 1a647b0 commit 05a8059
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/post_new_hook.ps1
Expand Up @@ -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
Expand Down Expand Up @@ -50,4 +51,3 @@ if ($DO_DEBUG) {
}

exit 0

0 comments on commit 05a8059

Please sign in to comment.