use .js extension for require() as a preparation for future migration to ESM

This commit is contained in:
zadam
2023-11-22 19:34:48 +01:00
parent 722299dd26
commit cf99345962
189 changed files with 984 additions and 984 deletions

View File

@@ -1,8 +1,8 @@
"use strict";
const becca = require('../../becca/becca');
const log = require('../../services/log');
const NotFoundError = require("../../errors/not_found_error");
const becca = require('../../becca/becca.js');
const log = require('../../services/log.js');
const NotFoundError = require('../../errors/not_found_error.js');
function getNotesAndBranchesAndAttributes(noteIds) {
noteIds = new Set(noteIds);