Skip to content

Commit

Permalink
Add log back in, fix typo in server_install.js
Browse files Browse the repository at this point in the history
  • Loading branch information
plocket committed Sep 12, 2024
1 parent 55846d4 commit 56dec6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions action_for_github_server/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ runs:
CONFIG_ARGS: ${{ env.CONFIG_ARGS }}
shell: bash
run: |
#log="💡 ALK0009 INFO: Download and start docker silently"
#echo -e "\n$log" >> "${{ env.DEBUG_PATH }}"
log="💡 ALK0009 INFO: Download and start docker silently"
echo -e "\n$log" >> "${{ env.DEBUG_PATH }}"
docker pull jhpyle/docassemble > /dev/null 2>&1
docker run --name docassemble_container \
--env DA_ADMIN_EMAIL="$DA_ADMIN_EMAIL" \
Expand All @@ -177,7 +177,7 @@ runs:
--env DA_ADMIN_EMAIL="$DA_ADMIN_EMAIL" \
--env DA_ADMIN_PASSWORD="$DA_ADMIN_PASSWORD" \
--env DA_ADMIN_API_KEY="$DA_ADMIN_API_KEY" \
"$CONFIG_ARGS" \
$CONFIG_ARGS \
--cap-add SYS_PTRACE \
--memory="4gb" -d -p 80:80 jhpyle/docassemble
Expand Down
2 changes: 1 addition & 1 deletion lib/docassemble/server_install.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const server_install = async () => {
if ( folders.length === 0 ) {
let msg = `ALKiln cannot find the package's files. There are 0 folders at "${ path }". Stopping tests.`;
log.throw({ code: `ALK0044`, context: `server_install`,
error: new ReferenceError( msg ); // no logs
error: new ReferenceError( msg ) // no logs
});
}

Expand Down

0 comments on commit 56dec6f

Please sign in to comment.