Update src/model/docker.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>
pull/305/head
AndrewKahr 2022-01-21 13:22:41 -08:00 committed by GitHub
parent ee8b3266cd
commit 5c29e25c04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ class Docker {
throw new Error(`License File was corrupted, unable to locate serial`);
}
const endIndex = license.indexOf(endKey, startIndex);
//We slice off the first 4 characters as they are garbage values
// Slice off the first 4 characters as they are garbage values
return Buffer.from(license.slice(startIndex, endIndex), 'base64').toString('binary').slice(4);
}
}