Skip to content

Commit 30d0a99

Browse files
committed
run no-new-func on dev branches - it catches es6 syntax e.g. const
1 parent 930739b commit 30d0a99

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.circleci/config.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,8 @@ jobs:
407407
name: Test plotly bundles against es6
408408
command: npm run no-es6-dist
409409
- run:
410-
name: Display function constructors in all bundles (only on master)
411-
command: |
412-
if [ $CIRCLE_BRANCH == "master" ]
413-
then npm run no-new-func
414-
fi
410+
name: Display function constructors in all bundles
411+
command: npm run no-new-func
415412

416413
workflows:
417414
version: 2

0 commit comments

Comments
 (0)