Skip to content

Commit 0e29d42

Browse files
periakteonMomePP
authored andcommitted
Refactor imports to use ES module syntax
1 parent c88eb40 commit 0e29d42

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.opencode/skills/task-management/scripts/task-cli.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env npx ts-node
2+
/// <reference types="node" />
23
/**
34
* Task Management CLI
45
*
@@ -19,8 +20,8 @@
1920
* .tmp/tasks/completed/{feature-slug}/
2021
*/
2122

22-
const fs = require('fs');
23-
const path = require('path');
23+
import * as fs from "node:fs";
24+
import * as path from "node:path";
2425

2526
// Find project root (look for .git or package.json)
2627
function findProjectRoot(): string {

0 commit comments

Comments
 (0)