Skip to content

Commit 59bfc8b

Browse files
committed
debug the travisci issue with the existance of the .gitignore file.
1 parent c8244b9 commit 59bfc8b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/tasks/init.spec.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ describe('The Angularity init task should correctly initialise all the files nee
2020
helper.runAngularity(['init', '-n', customName])
2121
.then(function (result) {
2222

23+
//debug travis issue
24+
var lsCommand = (require('os').platform() === 'linux') ? 'ls -al' : 'echo %cd% && dir';
25+
console.log(require('shelljs').exec(lsCommand).stdout);
26+
2327
//'init:bower'
2428
var bowerFile = path.join(initTempPath, 'bower.json');
2529
expect(fs.existsSync(bowerFile)).toBe(true);
@@ -41,6 +45,9 @@ describe('The Angularity init task should correctly initialise all the files nee
4145
//'init:jshint'
4246
expect(fs.existsSync(path.join(initTempPath, '.jshintrc'))).toBe(true);
4347

48+
//debug travis issue
49+
console.log(path.join(initTempPath, '.gitignore'));
50+
4451
//'init:gitignore'
4552
expect(fs.existsSync(path.join(initTempPath, '.gitignore'))).toBe(true);
4653

0 commit comments

Comments
 (0)