Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/hello.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Command } from './command.d.ts';
import type { Command } from '../types/command.js';

const helloCommand: Command = {
exec: (_: Array<string>): void => {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/log.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as fs from "fs";
import path from "path";
import zlib from "zlib";
import type { Command } from '../types/command.d.ts';
import type { Command } from '../types/command.js';

const logCommand: Command = {
exec: (_args: Array<string>): void => {
Expand Down
2 changes: 1 addition & 1 deletion src/gitIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from "fs";
import path from "path";
import type { GitIndex, GitIndexEntry, GitIndexExtension } from "./types/gitIndex.d.ts";
import { createHash } from "crypto";
import { blob2Hash, GitBlobObject, saveBlob } from "./blob.ts";
import { blob2Hash, GitBlobObject, saveBlob } from "./blob.js";

export const loadIndex = (): GitIndex => {
// * Index を Buffer として呼び出し
Expand Down
1 change: 0 additions & 1 deletion src/scripts/debug/tree.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { createHash } from "crypto";
import { GitTreeObject, loadTree, saveTree } from "../../tree.js";

const testTree: GitTreeObject = {
Expand Down
Loading