Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit 8a95baa

Browse files
fix: revert the TZ assertion, as it's too disruptive
1 parent c66e736 commit 8a95baa

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/script/runScript.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function checkAndlogEnvironment(): void {
113113
'\n' +
114114
formatObject({
115115
NODE_OPTIONS: NODE_OPTIONS || 'not defined',
116-
TZ,
116+
TZ: TZ || 'not defined',
117117
}),
118118
),
119119
)
@@ -128,17 +128,17 @@ function checkAndlogEnvironment(): void {
128128
)
129129
}
130130

131-
if (!TZ) {
132-
console.error(
133-
[
134-
'!!! TZ environment variable is required to be set, but was not set.',
135-
'The runScript will exit and not continue further because of that,',
136-
'please ensure the TZ variable and try again.',
137-
'If you are running locally, you can add TZ=UTC to the local .env file.',
138-
].join('\n'),
139-
)
140-
process.exit(1)
141-
}
131+
// if (!TZ) {
132+
// console.error(
133+
// [
134+
// '!!! TZ environment variable is required to be set, but was not set.',
135+
// 'The runScript will exit and not continue further because of that,',
136+
// 'please ensure the TZ variable and try again.',
137+
// 'If you are running locally, you can add TZ=UTC to the local .env file.',
138+
// ].join('\n'),
139+
// )
140+
// process.exit(1)
141+
// }
142142
}
143143

144144
function formatObject(obj: AnyObject): string {

0 commit comments

Comments
 (0)