Skip to content

Commit 65d04b6

Browse files
Excludes /assets/ path from loading commands. Closes pnp#2512
1 parent b7c27c8 commit 65d04b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli/Cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ export class Cli {
280280

281281
files.forEach(file => {
282282
if (file.indexOf(`${path.sep}commands${path.sep}`) > -1 &&
283+
file.indexOf(`${path.sep}assets${path.sep}`) < 0 &&
283284
file.endsWith('.js') &&
284285
!file.endsWith('.spec.js')) {
285286
try {

0 commit comments

Comments
 (0)