Skip to content

Commit 5858bc4

Browse files
committed
Sync libs too
* This could probably be shortened/optimized but did work on a test I started yesterday and redelivered from GH today. Closes OpenUserJS#723
1 parent 9d7b139 commit 5858bc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/scriptStorage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ exports.webhook = function (aReq, aRes) {
16231623
// Gather the modified user scripts
16241624
payload.commits.forEach(function (aCommit) {
16251625
aCommit.modified.forEach(function (aFilename) {
1626-
if (aFilename.substr(-8) === '.user.js') {
1626+
if (aFilename.substr(-8) === '.user.js' || aFilename.substr(-3) === '.js') {
16271627
repo[aFilename] = '/' + encodeURI(aFilename); // NOTE: Watchpoint
16281628
}
16291629
});

0 commit comments

Comments
 (0)