Skip to content

Commit

Permalink
Use absolute path to node in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreavis committed Dec 11, 2014
1 parent 2d48b3d commit a9d33d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CLI.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var fs = require('fs');
var path = require('path');
var assert = require('chai').assert;
var exec = require('child_process').exec;
var bin = 'node ' + path.resolve(__dirname, '../bin/migrat');
var bin = process.execPath + ' ' + path.resolve(__dirname, '../bin/migrat');

describe('CLI', function() {
describe('"create" command', function() {
Expand Down

0 comments on commit a9d33d6

Please sign in to comment.