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>
14 lines
316 B
JavaScript
Executable File
14 lines
316 B
JavaScript
Executable File
"use strict";
|
|
|
|
/**
|
|
* Returns a display name for a value from a constructor
|
|
* @param {object} value A value to examine
|
|
* @returns {(string|null)} A string or null
|
|
*/
|
|
function className(value) {
|
|
const name = value.constructor && value.constructor.name;
|
|
return name || null;
|
|
}
|
|
|
|
module.exports = className;
|