From 43cc3d96e6fa03afbfbfc9f6f739dd4538049958 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Wed, 7 Feb 2018 00:31:15 -0800 Subject: [PATCH] fix: make scoped package scopes friendlier --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index e1194833..43140a58 100644 --- a/src/config.ts +++ b/src/config.ts @@ -259,7 +259,7 @@ export class Config implements IConfig { scopedEnvVarKey(k: string) { return [this.bin, k] - .map(p => p.replace(/-/g, '_')) + .map(p => p.replace(/@/g, '').replace(/[-\/]/g, '_')) .join('_') .toUpperCase() }