Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

Commit 87ef827

Browse files
committed
fix copy paste error
1 parent a5d5f0e commit 87ef827

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

lib/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports.loadConfig = () => {
1414
const config = {
1515
version: versionnumber_1.default.fromString(core_1.getInput("version", { required: true })),
1616
platform: core_1.getInput("platform", { required: true }),
17-
packages: parseList(core_1.getInput("platform"), ","),
17+
packages: parseList(core_1.getInput("packages"), ","),
1818
deepSources: parseList(core_1.getInput("deep-sources"), " "),
1919
flatSources: parseList(core_1.getInput("flat-sources"), " "),
2020
cacheMode: core_1.getInput("cache-mode"),

lib/installer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,8 @@ class Installer {
163163
yield this._downloader.addSource(new url_1.URL(src), false);
164164
// add packages
165165
core_1.debug(`Available modules: ${this._downloader.modules().join(", ")}`);
166-
core_1.debug(`Extra tools: ${this._platform.extraTools()}`);
167166
for (const pkg of this._platform.extraTools())
168167
this._downloader.addDownload(pkg, true);
169-
core_1.debug(`Config packages: ${this._config.packages}`);
170168
for (const pkg of this._config.packages)
171169
this._downloader.addDownload(pkg, true);
172170
// download and install

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const loadConfig = (): Config => {
2727
const config: Config = {
2828
version: VersionNumber.fromString(getInput("version", { required: true })),
2929
platform: getInput("platform", { required: true }),
30-
packages: parseList(getInput("platform"), ","),
30+
packages: parseList(getInput("packages"), ","),
3131
deepSources: parseList(getInput("deep-sources"), " "),
3232
flatSources: parseList(getInput("flat-sources"), " "),
3333
cacheMode: getInput("cache-mode") as CacheMode,

src/installer.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,8 @@ export default class Installer {
197197

198198
// add packages
199199
debug(`Available modules: ${this._downloader.modules().join(", ")}`);
200-
debug(`Extra tools: ${this._platform.extraTools()}`);
201200
for (const pkg of this._platform.extraTools())
202201
this._downloader.addDownload(pkg, true);
203-
debug(`Config packages: ${this._config.packages}`);
204202
for (const pkg of this._config.packages)
205203
this._downloader.addDownload(pkg, true);
206204

0 commit comments

Comments
 (0)