MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / run

Method run

lib/tasks/show-asset-sizes.js:7–18  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

5
6class ShowAssetSizesTask extends Task {
7 run(options) {
8 let sizePrinter = new AssetSizePrinter({
9 ui: this.ui,
10 outputPath: options.outputPath,
11 });
12
13 if (options.json) {
14 return sizePrinter.printJSON();
15 }
16
17 return sizePrinter.print();
18 }
19}
20
21module.exports = ShowAssetSizesTask;

Callers

nothing calls this directly

Calls 2

printJSONMethod · 0.80
printMethod · 0.80

Tested by

no test coverage detected