mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
use .js extension for require() as a preparation for future migration to ESM
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
const yargs = require('yargs/yargs')
|
||||
const { hideBin } = require('yargs/helpers')
|
||||
const dumpService = require("./inc/dump");
|
||||
const dumpService = require('./inc/dump.js');
|
||||
|
||||
yargs(hideBin(process.argv))
|
||||
.command('$0 <path_to_document> <target_directory>', 'dump the contents of document.db into the target directory', (yargs) => {
|
||||
|
||||
Reference in New Issue
Block a user