Skip to content

Commit 2022f2b

Browse files
chore(gatsby-core-utils): Move isTruthy to gatsby-core-utils (#29707) (#29710)
(cherry picked from commit 837fcd2) Co-authored-by: Sidhartha Chatterjee <me@sidharthachatterjee.com>
1 parent ac65482 commit 2022f2b

4 files changed

Lines changed: 2 additions & 1 deletion

File tree

File renamed without changes.

packages/gatsby-core-utils/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ export { createRequireFromPath } from "./create-require-from-path"
77
export { getConfigStore } from "./get-config-store"
88
export { getGatsbyVersion } from "./get-gatsby-version"
99
export { getTermProgram } from "./get-term-program"
10+
export { isTruthy } from "./is-truthy"
1011
export * from "./service-lock"
1112
export * from "./site-metadata"
File renamed without changes.

packages/gatsby-telemetry/src/event-storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Configstore from "configstore"
33
import createFetch from "@turist/fetch"
44
import { Store } from "./store"
55
import { ensureDirSync } from "fs-extra"
6-
import { isTruthy } from "./is-truthy"
6+
import { isTruthy } from "gatsby-core-utils"
77
import { InMemoryConfigStore } from "./in-memory-store"
88

99
const fetch = createFetch()

0 commit comments

Comments
 (0)