Skip to content

Commit 5c04a6e

Browse files
author
Vladimir Belov
committed
Report on successful local extension build
1 parent fef9772 commit 5c04a6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/report.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import buildComponentName from '../utils/build-component-name';
1212
import isTemplatePath from '../utils/is-template-path';
1313
import buildTemplateName from '../utils/build-template-name';
1414
import getNowTime from '../utils/get-now-time';
15+
import isLocalPath from '../utils/is-local-path';
1516

1617
function printRow(row) {
1718
const reportTime = String(getNowTime()).grey;
@@ -97,7 +98,7 @@ export default function report({config, testResult, error}) {
9798
reportData.infoSymbol = logSymbols.success;
9899
}
99100

100-
if (isModulePath(config.input)) {
101+
if (isModulePath(config.input) || isLocalPath(config.input)) {
101102
const name = buildExtensionName(config.input, config.context);
102103

103104
printRow({...reportData, type: 'extension', name});

0 commit comments

Comments
 (0)