Fix block comment syntax error from cron example
The */5 in the cron example inside the JSDoc block comment was parsed as end-of-comment, causing a SyntaxError. Replaced with a reference to install.sh. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -17,8 +17,7 @@
|
|||||||
*
|
*
|
||||||
* Output: Writes JSON to $CLAUDE_USAGE_CACHE or /tmp/claude_usage.json
|
* Output: Writes JSON to $CLAUDE_USAGE_CACHE or /tmp/claude_usage.json
|
||||||
*
|
*
|
||||||
* Cron example (every 5 min):
|
* Cron: every 5 min (see install.sh or README for crontab line)
|
||||||
* */5 * * * * /usr/bin/node /path/to/fetch-usage.js 2>/dev/null
|
|
||||||
*/
|
*/
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|||||||
Reference in New Issue
Block a user