1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

chore(build): set node_env to testing (#5410)

This commit is contained in:
Chaim Lev-Ari 2021-09-30 12:00:54 +03:00 committed by GitHub
parent 0cb5656db6
commit 7fb2e44146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 5 deletions

View file

@ -13,8 +13,7 @@ angular.module('portainer').config([
function ($urlRouterProvider, $httpProvider, localStorageServiceProvider, jwtOptionsProvider, $uibTooltipProvider, $compileProvider, cfpLoadingBarProvider) {
'use strict';
var environment = '@@ENVIRONMENT';
if (environment === 'production') {
if (process.env.NODE_ENV === 'testing') {
$compileProvider.debugInfoEnabled(false);
}