mirror of
https://github.com/github/codeql-action.git
synced 2026-05-15 15:50:27 +00:00
Import @actions/artifact@v1 as artifact-legacy and v2 as artifact
This commit is contained in:
+8
@@ -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