Skip to content

Commit efe16ac

Browse files
committed
fix: clear
1 parent cd75fab commit efe16ac

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

File renamed without changes.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ChildProcess, fork } from 'child_process'
22
import { join } from 'path'
33
import { pathToFileURL } from 'url'
44
import semver from 'semver'
5-
import { clearFactory } from './clear.js'
5+
import { clearFactory } from './clear.cjs'
66
import { Options } from './cli.js'
77
import { FileWatcher } from './utils/filewatcher.js'
88
import { configureDeps, configureIgnore } from './ignore.js'

test/spawn/clear.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const tap = require('tap')
22

33
const { spawn, touchFile } = require('../utils')
44

5-
const { control } = require('../../lib/clear')
5+
const { control } = require('../../lib/clear.cjs')
66

77
const reClear = new RegExp(control)
88

test/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { spawn } = require('child_process')
22
const { join } = require('path')
33
const touch = require('touch')
44

5-
const { control } = require('../lib/clear')
5+
const { control } = require('../lib/clear.cjs')
66

77
const bin = join(__dirname, '..', 'lib', 'entrypoint')
88
const dir = join(__dirname, 'fixture')

0 commit comments

Comments
 (0)