Skip to content

Commit 29addeb

Browse files
committed
Fix missing runtime logs directory on Windows
1 parent ee279ca commit 29addeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/scanTypescript.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ else
4242
# all output of the scanning needs to be redirected to stderr using ">&2".
4343
# For later troubleshooting, the output is also copied to a dedicated log file using "tee".
4444
# Note: Don't worry about the hardcoded version number. It will be updated by Renovate using a custom Manager.
45+
mkdir -p "./runtime/logs"
4546
( cd "./${SOURCE_DIRECTORY}" && npx --yes @jqassistant/[email protected] --extension React 2>&1 | tee "./../runtime/logs/jqassistant-typescript-scan.log" >&2 || exit )
4647

4748
changeDetectionReturnCode=$( source "${SCRIPTS_DIR}/detectChangedFiles.sh" --hashfile "${changeDetectionHashFilePath}" --paths "./${SOURCE_DIRECTORY}")

0 commit comments

Comments
 (0)