mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Add ci-helpers
This commit is contained in:
parent
1388058889
commit
16cea99a2c
14
node_modules/c9/ci-helpers.js
generated
vendored
Normal file
14
node_modules/c9/ci-helpers.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
// These users don't have backups made of their workspaces and if they are supposed to be archived they are deleted instead.
|
||||
var CI_TEMP_USERS = [
|
||||
733399, // branches
|
||||
]
|
||||
|
||||
var ciHelper = {
|
||||
isTempUser: function (userId) {
|
||||
return CI_TEMP_USERS.indexOf(userId) >= 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = ciHelper;
|
||||
Loading…
x
Reference in New Issue
Block a user