From 7c9b2accf0f3686e0f050da9199eec6d708a7728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Sage?= Date: Fri, 8 Jul 2016 00:51:28 +0200 Subject: [PATCH] Name in package.json cannot contain spaces https://docs.npmjs.com/getting-started/using-a-package.json --- pebble_tool/commands/sdk/project/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pebble_tool/commands/sdk/project/convert.py b/pebble_tool/commands/sdk/project/convert.py index 854a981..53bdd8d 100644 --- a/pebble_tool/commands/sdk/project/convert.py +++ b/pebble_tool/commands/sdk/project/convert.py @@ -32,7 +32,7 @@ def __call__(self, args): def _convert_to_npm(self): new_info = { - 'name': self.project.short_name, + 'name': self.project.short_name.replace(' ',''), 'author': self.project.company_name, 'version': self.project.version + '.0', 'private': True,