mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
Fix remaining tslint errors (YAY).
- Also updated ci.yml to ensure that linting failures will break the build. Fully fixes https://b.corp.google.com/issues/411384603
This commit is contained in:
committed by
N. Taylor Mullen
parent
2a850ed051
commit
40e11e053c
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { Box, Text } from 'ink';
|
||||
|
||||
const ITermDetectionWarning: React.FC = () => {
|
||||
export const ITermDetectionWarning: React.FC = () => {
|
||||
if (process.env.TERM_PROGRAM !== 'iTerm.app') {
|
||||
return null; // Don't render anything if not in iTerm
|
||||
}
|
||||
@@ -12,5 +12,3 @@ const ITermDetectionWarning: React.FC = () => {
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
export default ITermDetectionWarning;
|
||||
|
||||
Reference in New Issue
Block a user