Skip to content

Commit 17665d9

Browse files
committed
add a pattern check
1 parent d7d8aa4 commit 17665d9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/analytics/src/api.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* See the License for the specific language governing permissions and
1717
* limitations under the License.
1818
*/
19-
//fsdj
19+
2020
import { _getProvider, FirebaseApp, getApp } from '@firebase/app';
2121
import {
2222
Analytics,
@@ -63,8 +63,6 @@ declare module '@firebase/component' {
6363
}
6464
}
6565

66-
console.log('hi');
67-
6866
/**
6967
* Returns an {@link Analytics} instance for the given app.
7068
*

scripts/ci/check_changeset.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ async function main() {
136136
await exec(`echo "BLOCKING_FAILURE=false" >> $GITHUB_OUTPUT`);
137137
} catch (e) {
138138
const error = e as Error;
139-
if (error.message.match('No changesets present')) {
139+
if (
140+
error.message.match('No changesets present') ||
141+
error.message.match('no changesets were found')
142+
) {
140143
await exec(`echo "BLOCKING_FAILURE=false" >> $GITHUB_OUTPUT`);
141144
} else {
142145
const messageLines = error.message.replace(/🦋 error /g, '').split('\n');

0 commit comments

Comments
 (0)