mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482)
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com> Co-authored-by: Henry Mercer <henrymercer@github.com>
This commit is contained in:
8
node_modules/traverse/examples/negative.js
generated
vendored
Executable file
8
node_modules/traverse/examples/negative.js
generated
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
var Traverse = require('traverse');
|
||||
var obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ];
|
||||
|
||||
Traverse(obj).forEach(function (x) {
|
||||
if (x < 0) this.update(x + 128);
|
||||
});
|
||||
|
||||
console.dir(obj);
|
||||
Reference in New Issue
Block a user