initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
16
github/codeql-action-v1/node_modules/events/tests/legacy-compat.js
generated
vendored
Normal file
16
github/codeql-action-v1/node_modules/events/tests/legacy-compat.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// sigh... life is hard
|
||||
if (!global.console) {
|
||||
console = {}
|
||||
}
|
||||
|
||||
var fns = ['log', 'error', 'trace'];
|
||||
for (var i=0 ; i<fns.length ; ++i) {
|
||||
var fn = fns[i];
|
||||
if (!console[fn]) {
|
||||
console[fn] = function() {};
|
||||
}
|
||||
}
|
||||
|
||||
if (!Array.isArray) {
|
||||
Array.isArray = require('isarray');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue