Skip to content

Commit 8adca92

Browse files
Merge pull request #505 from DustinCampbell/fix-off-by-one-error
It's always something silly. Off by one
2 parents e358bdc + 94a2b61 commit 8adca92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function getSupportedPlatform() {
4343

4444
// Strip double quotes if necessary
4545
if (value.length > 1 && value.startsWith('"') && value.endsWith('"')) {
46-
value = value.substring(1, value.length - 2);
46+
value = value.substring(1, value.length - 1);
4747
}
4848

4949
return value;

0 commit comments

Comments
 (0)