mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
remove unnecessary author fields
This commit is contained in:
parent
7aa52bb0c5
commit
902ad71578
52 changed files with 98 additions and 151 deletions
|
@ -92,7 +92,6 @@ const app = express();
|
|||
return {
|
||||
language: rt.language,
|
||||
version: rt.version.raw,
|
||||
author: rt.author,
|
||||
aliases: rt.aliases
|
||||
};
|
||||
});
|
||||
|
|
|
@ -14,12 +14,11 @@ class Runtime {
|
|||
fss.read_file_sync(path.join(package_dir, 'pkg-info.json'))
|
||||
);
|
||||
|
||||
const { language, version, author, build_platform, aliases } = info;
|
||||
const { language, version, build_platform, aliases } = info;
|
||||
|
||||
this.pkgdir = package_dir;
|
||||
this.language = language;
|
||||
this.version = semver.parse(version);
|
||||
this.author = author;
|
||||
this.aliases = aliases;
|
||||
|
||||
if (build_platform !== globals.platform) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue