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
340 B
JavaScript
Executable File
14 lines
340 B
JavaScript
Executable File
'use strict';
|
|
|
|
/**
|
|
* @param {import('postcss-selector-parser').Selector} selector
|
|
* @param {number} index
|
|
* @param {string} value
|
|
* @return {boolean | undefined | ''}
|
|
*/
|
|
module.exports = function exists(selector, index, value) {
|
|
const node = selector.at(index);
|
|
|
|
return node && node.value && node.value.toLowerCase() === value;
|
|
};
|