Skip to content

Commit

Permalink
change plugin to use the right dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
fredkingham committed May 2, 2017
1 parent 40a29c3 commit 4bfcafd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opal/core/scaffold.py
Expand Up @@ -101,7 +101,7 @@ def start_plugin(name, USERLAND):
services = jsdir/'services'
services.mkdir()
# 5. Initialize git repo
os.system('cd {0}; git init'.format(name))
os.system('cd {0}; git init'.format(reponame))

write('Plugin complete at {0}'.format(reponame))
return
Expand Down
2 changes: 1 addition & 1 deletion opal/tests/test_scaffold.py
Expand Up @@ -88,7 +88,7 @@ def test_creates_manifest(self, os):

def test_initialize_git(self, os):
scaffold.start_plugin(self.args, self.path)
os.assert_any_call('cd testplugin; git init')
os.assert_any_call('cd opal-testplugin; git init')

@patch('subprocess.check_call')
@patch('os.system')
Expand Down

0 comments on commit 4bfcafd

Please sign in to comment.