We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a557dd7 commit 112e3daCopy full SHA for 112e3da
webhook/index.js
@@ -152,6 +152,9 @@ handler.on('push', (event) => {
152
removed = [...removed].filter(e => e.startsWith('docs') && e.endsWith('md'));
153
modified = [...modified].filter(e => e.startsWith('docs') && e.endsWith('md'));
154
155
+ removed.forEach((file, index) => removed[index] = file.replace('docs/', ''));
156
+ modified.forEach((file, index) => modified[index] = file.replace('docs/', ''));
157
+
158
updateContent(modified, removed);
159
});
160
@@ -165,4 +168,4 @@ function init() {
165
168
updateContent(modified, []);
166
169
}
167
170
-init();
171
+init();
0 commit comments