Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ getENV } from
"Utils/getENV"
2
3
export
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
getENV
Function · 0.90
Tested by
no test coverage detected