@catchdrift/cli 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/check.mjs +1 -1
- package/src/commands/sync.mjs +1 -1
package/package.json
CHANGED
package/src/commands/check.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import pc from 'picocolors'
|
|
|
21
21
|
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
22
22
|
|
|
23
23
|
// drift-check.mjs ships in the CLI package under scripts/
|
|
24
|
-
const CHECKER = resolve(__dirname, '
|
|
24
|
+
const CHECKER = resolve(__dirname, '../../scripts/drift-check.mjs')
|
|
25
25
|
|
|
26
26
|
export async function check(argv) {
|
|
27
27
|
// Read threshold from drift.config.ts if not passed as flag
|
package/src/commands/sync.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import { spawn } from 'child_process'
|
|
|
15
15
|
import pc from 'picocolors'
|
|
16
16
|
|
|
17
17
|
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
18
|
-
const SYNCER = resolve(__dirname, '
|
|
18
|
+
const SYNCER = resolve(__dirname, '../../scripts/drift-sync.mjs')
|
|
19
19
|
|
|
20
20
|
export async function sync(_argv) {
|
|
21
21
|
if (!existsSync(SYNCER)) {
|