mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
Fix versions
This commit is contained in:
parent
11b2520189
commit
218fe8f023
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const versions = execFileSync(__dirname + '/../../lxc/versions')
|
||||||
.toString()
|
.toString()
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.split('---')
|
.split('---')
|
||||||
.map(section => section.split('\n'))
|
.map(section => section.trim().split('\n'))
|
||||||
.filter(section => section.length >= 2);
|
.filter(section => section.length >= 2);
|
||||||
|
|
||||||
function getVersion(language) {
|
function getVersion(language) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue