Skip to content

Commit

Permalink
Fix start command path
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwohl committed Jun 22, 2016
1 parent 8d1e3ca commit 2cf7f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = new Extension({
// make sure the file is executable
fs.chmodSync(tokens.$filepath, 0755);
// start command just executes the file ($filepath is absolute, includes leading slash)
return '.$filepath';
return '$filepath';
},
// how do we stop this type of artwork?
'end_command': 'sudo pkill -f $filename'
Expand Down
2 changes: 1 addition & 1 deletion test/extension.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('start_command', function() {
it('should return a string', function() {
var format = OpenFrameworksExtension.props.format,
command = format.start_command(null, tokens),
expected = '.$filepath';
expected = '$filepath';

assert(typeof command === 'string');
assert.equal(command, expected);
Expand Down

0 comments on commit 2cf7f03

Please sign in to comment.