axios+telemetry cleanup
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import type { Command, LocalCommandCall } from '../types/command.js'
|
||||
import { VERSION, BUILD_TIME } from '../constants/product.js'
|
||||
|
||||
const call: LocalCommandCall = async () => {
|
||||
return {
|
||||
type: 'text',
|
||||
value: MACRO.BUILD_TIME
|
||||
? `${MACRO.VERSION} (built ${MACRO.BUILD_TIME})`
|
||||
: MACRO.VERSION,
|
||||
value: BUILD_TIME ? `${VERSION} (built ${BUILD_TIME})` : VERSION,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user