Skip to content

Commit 20f8b3d

Browse files
committed
fix: allow google_apis_ps16k as a valid target
Fixes #403
1 parent f2bf410 commit 20f8b3d

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

__tests__/input-validator.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ describe('target validator tests', () => {
6969
validator.checkTarget('android-desktop');
7070
};
7171
expect(func12).not.toThrow();
72+
73+
const func13 = () => {
74+
validator.checkTarget('google_apis_ps16k');
75+
};
76+
expect(func13).not.toThrow();
7277
});
7378
});
7479

lib/input-validator.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports.MIN_API_LEVEL = 15;
55
exports.VALID_TARGETS = [
66
'default',
77
'google_apis',
8+
'google_apis_ps16k',
89
'aosp_atd',
910
'google_atd',
1011
'google_apis_playstore',

src/input-validator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export const MIN_API_LEVEL = 15;
22
export const VALID_TARGETS: Array<string> = [
33
'default',
44
'google_apis',
5+
'google_apis_ps16k',
56
'aosp_atd',
67
'google_atd',
78
'google_apis_playstore',

0 commit comments

Comments
 (0)