Skip to content

Commit e22aa08

Browse files
committed
lint fixes
1 parent efd1c37 commit e22aa08

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/cli-platform-apple/src/tools/__tests__/getInfo.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('getInfo', () => {
1616
it('handles non-project / workspace locations in a ', () => {
1717
const name = `YourProjectName`;
1818
(fs.readFileSync as jest.Mock)
19-
.mockReturnValueOnce(`<?xml version="1.0" encoding="UTF-8"?>
19+
.mockReturnValueOnce(`<?xml version="1.0" encoding="UTF-8"?>
2020
<Workspace
2121
version = "1.0">
2222
<FileRef
@@ -44,7 +44,7 @@ describe('getInfo', () => {
4444
it('handles xcodeproj location in container in a ', () => {
4545
const name = `YourProjectName`;
4646
(fs.readFileSync as jest.Mock)
47-
.mockReturnValueOnce(`<?xml version="1.0" encoding="UTF-8"?>
47+
.mockReturnValueOnce(`<?xml version="1.0" encoding="UTF-8"?>
4848
<Workspace
4949
version = "1.0">
5050
<FileRef

packages/cli-platform-apple/src/tools/getInfo.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import * as fs from 'fs';
55
import * as path from 'path';
66
import type {IosInfo} from '../types';
77

8-
function isErrorLike(err: unknown): err is { message: string } {
8+
function isErrorLike(err: unknown): err is {message: string} {
99
return Boolean(
1010
err &&
11-
typeof err === 'object' &&
12-
'message' in err &&
13-
typeof err.message === 'string',
11+
typeof err === 'object' &&
12+
'message' in err &&
13+
typeof err.message === 'string',
1414
);
1515
}
1616

0 commit comments

Comments
 (0)