Skip to content

Commit 1526241

Browse files
committed
Copy Typescript scanning log to console and file
1 parent 6158d72 commit 1526241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/findPathsToScan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if [ -d "./${SOURCE_DIRECTORY}" ] ; then
4343
# TODO: Remove patchJQAssistantTypescriptPlugin when issue is resolved: https://github.com/jqassistant-plugin/jqassistant-typescript-plugin/issues/125
4444
source "${SCRIPTS_DIR}/patchJQAssistantTypescriptPlugin.sh" >&2
4545
echo "findPathsToScan: Scanning Typescript source using @jqassistant/ts-lce..." >&2
46-
( cd "./${SOURCE_DIRECTORY}" && npx --yes @jqassistant/[email protected] --extension React >"./../runtime/logs/jqassistant-typescript-scan.log" 2>&1 || exit )
46+
( cd "./${SOURCE_DIRECTORY}" && npx --yes @jqassistant/[email protected] --extension React 2>&1 | tee "./../runtime/logs/jqassistant-typescript-scan.log" || exit )
4747
else
4848
echo "findPathToScan Error: Command npx not found. It's needed to execute @jqassistant/ts-lce to scan Typescript projects."
4949
fi

0 commit comments

Comments
 (0)