feat: feature/mvp-sprint-1 Added alias tt for thingtime in commander
This commit is contained in:
parent
466204e302
commit
83da88ac54
@ -303,6 +303,7 @@ export const Commander = (props) => {
|
|||||||
try {
|
try {
|
||||||
// first try to execute literal javscript
|
// first try to execute literal javscript
|
||||||
const fn = `() => { return ${commandValue} }`
|
const fn = `() => { return ${commandValue} }`
|
||||||
|
const tt = thingtime
|
||||||
const evalFn = eval(fn)
|
const evalFn = eval(fn)
|
||||||
const realVal = evalFn()
|
const realVal = evalFn()
|
||||||
setThingtime(commandPath, realVal)
|
setThingtime(commandPath, realVal)
|
||||||
@ -353,6 +354,7 @@ export const Commander = (props) => {
|
|||||||
commanderActive,
|
commanderActive,
|
||||||
commandIsAction,
|
commandIsAction,
|
||||||
commandPath,
|
commandPath,
|
||||||
|
thingtime,
|
||||||
commandValue,
|
commandValue,
|
||||||
escapedCommandValue,
|
escapedCommandValue,
|
||||||
getThingtime,
|
getThingtime,
|
||||||
|
Loading…
Reference in New Issue
Block a user