From 67069547b85e2cfe4ad8f4164d4961c8190c4121 Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Wed, 22 Jul 2020 21:29:27 +0300 Subject: [PATCH] refactor(agent): replace root file with index (#4096) --- app/__module.js | 2 +- app/agent/{_module.js => index.js} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename app/agent/{_module.js => index.js} (54%) diff --git a/app/__module.js b/app/__module.js index 3e591b902..fc3034f39 100644 --- a/app/__module.js +++ b/app/__module.js @@ -3,7 +3,7 @@ import '@babel/polyfill'; import angular from 'angular'; -import './agent/_module'; +import './agent'; import './azure/_module'; import './docker/__module'; import './edge/__module'; diff --git a/app/agent/_module.js b/app/agent/index.js similarity index 54% rename from app/agent/_module.js rename to app/agent/index.js index c74f4eda2..140612a42 100644 --- a/app/agent/_module.js +++ b/app/agent/index.js @@ -1 +1,3 @@ +import angular from 'angular'; + angular.module('portainer.agent', []);