File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ Jobs.run = function () {
6767
6868// Update / manage a job even though it has not run
6969
70- Jobs . manage = function ( ) {
70+ Jobs . find = function ( ) {
7171 check ( arguments [ 0 ] , String )
7272
7373 if ( Utilities . registry . data [ arguments [ 0 ] ] ) {
74- return Actions . manage . apply ( null , arguments ) ;
74+ return Actions . find . apply ( null , arguments ) ;
7575 } else {
7676 Utilities . logger ( "invalid job name: " + arguments [ 0 ] || "not specified" ) ;
7777 return false ;
Original file line number Diff line number Diff line change 11import { Utilities } from "../../utilities"
22import { process } from "./process.js"
33
4- var manage = function ( ) {
4+ var find = function ( ) {
55 // First, process the arguments
66 var input = Utilities . helpers . processJobArguments ( arguments ) ;
77
@@ -20,4 +20,4 @@ var manage = function () {
2020 }
2121}
2222
23- export { manage }
23+ export { find }
File renamed without changes.
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ var toolbelt = function (jobDoc) {
4242 }
4343 }
4444
45- return this . document . data [ key ] || null ;
45+ return this . document . data [ key ] ;
4646 }
4747
4848 this . push = function ( key , value ) {
Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ import { get } from './get'
33import { clear } from './clear'
44import { cancel } from './cancel'
55import { execute } from './execute'
6- import { manage } from './manage '
6+ import { find } from './find '
77import { remove } from './remove'
88import { replicate } from './replicate'
99import { reschedule } from './reschedule'
1010
1111var Actions = {
1212 add : add ,
1313 get : get ,
14+ find : find ,
1415 clear : clear ,
1516 cancel : cancel ,
1617 execute : execute ,
17- manage : manage ,
1818 remove : remove ,
1919 replicate : replicate ,
2020 reschedule : reschedule
You can’t perform that action at this time.
0 commit comments