flatlint 1.45.0 → 1.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ChangeLog
CHANGED
package/lib/runner/path.js
CHANGED
|
@@ -138,6 +138,11 @@ const createIsNextPunctuator = ({tokens, end}) => (punctuators) => {
|
|
|
138
138
|
if (!current)
|
|
139
139
|
return false;
|
|
140
140
|
|
|
141
|
+
for (const punctuator of maybeArray(punctuators)) {
|
|
142
|
+
if (isPunctuator(current, punctuator))
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
|
|
141
146
|
return isPunctuator(current, punctuators);
|
|
142
147
|
};
|
|
143
148
|
|