File tree Expand file tree Collapse file tree
rust-cli-kiln/scripts/release Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -350,9 +350,9 @@ check_security() {
350350 fi
351351
352352 # npm audit (only high severity)
353- if command -v npm & > /dev/null && [ -f " $PROJECT_ROOT /${PROJECT_NAME} -npm /package-lock.json" ]; then
353+ if command -v npm & > /dev/null && [ -f " $PROJECT_ROOT /${PROJECT_NAME} -js /package-lock.json" ]; then
354354 print_info " Running npm audit..."
355- cd " $PROJECT_ROOT /${PROJECT_NAME} -npm "
355+ cd " $PROJECT_ROOT /${PROJECT_NAME} -js "
356356 if npm audit --audit-level=high & > /dev/null; then
357357 print_success " No critical npm vulnerabilities"
358358 else
@@ -397,7 +397,7 @@ check_package_structure() {
397397 " ${PROJECT_NAME} -core/Cargo.toml"
398398 " ${PROJECT_NAME} -cli/Cargo.toml"
399399 " ${PROJECT_NAME} -python/pyproject.toml"
400- " ${PROJECT_NAME} -npm /package.json"
400+ " ${PROJECT_NAME} -js /package.json"
401401 )
402402
403403 for file in " ${REQUIRED_FILES[@]} " ; do
@@ -418,7 +418,7 @@ check_package_structure() {
418418 fi
419419
420420 # Check npm package structure
421- if [ -f " $PROJECT_ROOT /${PROJECT_NAME} -npm /index.js" ]; then
421+ if [ -f " $PROJECT_ROOT /${PROJECT_NAME} -js /index.js" ]; then
422422 print_success " npm package structure is correct"
423423 else
424424 print_error " npm package structure is incorrect"
You can’t perform that action at this time.
0 commit comments