Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Check for observer being undefined in notifyPaths function #172

Merged
merged 4 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/eleven-lamps-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'stocked': patch
---

Fixed error in notifyPaths - observer could be undefined
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
*.config.js
*.config.js
dangerfile.js
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"typescript.tsdk": "node_modules\\typescript\\lib",
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
}
}
7 changes: 7 additions & 0 deletions dangerfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const { danger, fail } = require('danger');

const changesets = danger.git.fileMatch('.changeset/*.md');

if (!changesets.created) {
fail('No changesets has been added in you pull request!');
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@typescript-eslint/parser": "^4.9.0",
"aqu": "^0.3.2",
"configs": "github:fracht/configs",
"danger": "^11.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-react-hooks": "^4.2.0",
Expand Down
Loading
Loading