Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
244 B
JavaScript
Executable File
12 lines
244 B
JavaScript
Executable File
function removeUnused(properties) {
|
|
for (var i = properties.length - 1; i >= 0; i--) {
|
|
var property = properties[i];
|
|
|
|
if (property.unused) {
|
|
property.all.splice(property.position, 1);
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = removeUnused;
|