Merge pull request #473 from Brikaa/fix-nix-versions
Fix nix runtimes versions
This commit is contained in:
commit
450f07c951
|
@ -205,7 +205,7 @@ router.ws('/connect', async (ws, req) => {
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
type: 'runtime',
|
type: 'runtime',
|
||||||
language: job.runtime.language,
|
language: job.runtime.language,
|
||||||
version: job.runtime.version.raw,
|
version: job.runtime.version,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -282,7 +282,7 @@ router.get('/runtimes', (req, res) => {
|
||||||
const runtimes = req.app.locals.runtimes.map(rt => {
|
const runtimes = req.app.locals.runtimes.map(rt => {
|
||||||
return {
|
return {
|
||||||
language: rt.language,
|
language: rt.language,
|
||||||
version: rt.version.raw,
|
version: rt.version,
|
||||||
aliases: rt.aliases,
|
aliases: rt.aliases,
|
||||||
runtime: rt.runtime,
|
runtime: rt.runtime,
|
||||||
};
|
};
|
||||||
|
|
|
@ -203,7 +203,7 @@ router.ws('/connect', async (ws, req) => {
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
type: 'runtime',
|
type: 'runtime',
|
||||||
language: job.runtime.language,
|
language: job.runtime.language,
|
||||||
version: job.runtime.version.raw,
|
version: job.runtime.version,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -276,7 +276,7 @@ router.get('/runtimes', (req, res) => {
|
||||||
const runtimes = req.app.locals.runtimes.map((rt, index) => {
|
const runtimes = req.app.locals.runtimes.map((rt, index) => {
|
||||||
return {
|
return {
|
||||||
language: rt.language,
|
language: rt.language,
|
||||||
version: rt.version.raw,
|
version: rt.version,
|
||||||
aliases: rt.aliases,
|
aliases: rt.aliases,
|
||||||
runtime: rt.runtime,
|
runtime: rt.runtime,
|
||||||
id: index,
|
id: index,
|
||||||
|
|
Loading…
Reference in New Issue