mirror of
https://github.com/reactivecircus/android-emulator-runner.git
synced 2026-09-04 19:29:31 +00:00
Merge branch 'main' into release/v2
* main: Prepare for release 2.27.0. Clean up action description. Update dependencies (#282) Update Readme & Provide current context on Hardware Acceleration on Github (#279) Pre Emulator Launch Script (#247) Update to Node 16 (#276)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import validate from './validate.js';
|
||||
|
||||
function version(uuid) {
|
||||
if (!validate(uuid)) {
|
||||
throw TypeError('Invalid UUID');
|
||||
}
|
||||
|
||||
return parseInt(uuid.substr(14, 1), 16);
|
||||
}
|
||||
|
||||
export default version;
|
||||
Reference in New Issue
Block a user