You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NPM_PACKAGE_JSON_ARTIFACTS_DIRECTORY=${NPM_PACKAGE_JSON_ARTIFACTS_DIRECTORY:-"npm-package-json"}# Subdirectory of "artifacts" containing the npm package.json files to scan
15
+
16
+
# Check if the repository is actually a git repository
17
+
if [ !-d"${SOURCE_DIRECTORY}" ];then
18
+
echo"copyPackageJsonFiles: No ${SOURCE_DIRECTORY} directory. Skipping copy of package.json files."
19
+
return 0
20
+
fi
21
+
22
+
(
23
+
cd"./${SOURCE_DIRECTORY}"
24
+
25
+
echo"copyPackageJsonFiles: Existing package.json files will be copied from from ${SOURCE_DIRECTORY} to ../${ARTIFACTS_DIRECTORY}/${NPM_PACKAGE_JSON_ARTIFACTS_DIRECTORY}"
26
+
echo"copyPackageJsonFiles: Author will be removed as workaround for https://github.com/jqassistant-plugin/jqassistant-npm-plugin/issues/5"
0 commit comments