We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 84664ed + 28170e6 commit 3dab625Copy full SHA for 3dab625
lib/xcode.js
@@ -598,7 +598,7 @@ exports.detect = function detect(options, callback) {
598
// - com.apple.CoreSimulator.SimRuntime.watchOS-10-0
599
for (const key of Object.keys(info.devices)) {
600
const [_, platform, rawVersion] = key.match(/\.SimRuntime\.(.*?)\-(.*)$/);
601
- const version = rawVersion.replaceAll('-', '.');
+ const version = rawVersion.replace(/-/g, '.');
602
603
const mapping = {
604
name: `${platform} ${version}`,
0 commit comments