Skip to content

Commit 69b62a8

Browse files
chore: Added map files to delete function
This patch adds a line which will remove map files from the dist folder, when delete is called within manage_senux.sh
1 parent ef42892 commit 69b62a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Koha/Plugin/Com/PerplexedTheta/SENUX/static_files/manage_senux.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ delete() {
148148
rm -rfv "${SCRIPT_DIR}/node_modules/"
149149
rm -rfv "${SCRIPT_DIR}/node_cache/"
150150
rm -rfv "${SCRIPT_DIR}/nvm_dir/"
151-
rm -fv "${SCRIPT_DIR}/dist/senux.min.js"
152-
rm -fv "${SCRIPT_DIR}/dist/senux.min.css"
151+
rm -fv "${SCRIPT_DIR}/dist/senux."*
153152

154153
return 0
155154
}

0 commit comments

Comments
 (0)