From 16cea99a2c33ffbe85dfa0031008618eaa71d79f Mon Sep 17 00:00:00 2001 From: Tim Robinson Date: Mon, 4 Jan 2016 16:47:27 +0000 Subject: [PATCH] Add ci-helpers --- node_modules/c9/ci-helpers.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 node_modules/c9/ci-helpers.js diff --git a/node_modules/c9/ci-helpers.js b/node_modules/c9/ci-helpers.js new file mode 100644 index 00000000..6979530a --- /dev/null +++ b/node_modules/c9/ci-helpers.js @@ -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; \ No newline at end of file