MCPcopy Create free account
hub / github.com/artsy/force / warnInDevelopment

Function warnInDevelopment

src/Utils/warnInDevelopment.ts:3–7  ·  view source on GitHub ↗
(...args: Parameters<typeof console.warn>)

Source from the content-addressed store, hash-verified

1import { getENV } from "Utils/getENV"
2
3export const warnInDevelopment = (...args: Parameters<typeof console.warn>) => {
4 if (getENV("NODE_ENV") === "development") {
5 console.warn(...args)
6 }
7}

Callers

nothing calls this directly

Calls 1

getENVFunction · 0.90

Tested by

no test coverage detected