Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb735776

Browse files
committed
improved error messages when configuring test runner
1 parente8380b4 commitb735776

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

‎CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to[Semantic Versioning](http://semver.org/).
44

5+
##[0.12.1] - 2016-08-18
6+
- remove devDependencies, as Atom installs them and slows the install time significantly
7+
- create folders if they do not already exist when writing files
8+
59
#[0.12.0] - 2016-08-16
610
- add 'write' & 'writeFileFrom' actions
711

‎lib/modules/tutorial/utils/config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ function tutorialConfig(tutorialPj, dir) {
1010
varrunnerOptions=config.runnerOptions||{};
1111
varconfigEdit=tutorialPj.config.edit;
1212
vargetRunner=config_runner_1.default(name,config.runner,dir);
13+
if(!getRunner||!getRunner.run||!getRunner.load){
14+
console.log('Error loading test runner',getRunner);
15+
}
1316
return{
1417
dir:tutorialDir,
1518
runner:runner,

‎package.json

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
"dependencies": {
3232
"atom-plugin-command-line":"1.0.2",
3333
"coderoad-cli":"0.9.0",
34-
"core-coderoad":"0.8.0",
34+
"core-coderoad":"0.8.1",
3535
"material-ui":"0.15.4",
3636
"node-file-exists":"1.1.0",
37-
"react":"15.3.0",
38-
"react-dom":"15.3.0",
37+
"react":"15.3.1",
38+
"react-dom":"15.3.1",
3939
"react-redux":"4.4.5",
40-
"react-router-sans-urls":"0.1.0",
40+
"react-router-sans-urls":"0.1.2",
4141
"react-tap-event-plugin":"1.0.0",
4242
"redux":"3.5.2"
4343
},
@@ -53,10 +53,5 @@
5353
"1.0.0":"consumeStatusBar"
5454
}
5555
}
56-
},
57-
"devDependencies": {
58-
"tslint":"3.14.0",
59-
"tslint-react":"1.0.0",
60-
"typescript":"^2.0.0"
6156
}
6257
}

‎src/modules/page/task-actions/handle-action-string.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import{editorInsert,editorOpen,editorSave,editorSet,editorWriteFileFromContent,editorWriteFileFromFile}from'../../../actions';
22
importstorefrom'../../../store';
3-
importactionWritefrom'../@actions/write';
43
import{getCommand,getOptions,getParams}from'./parser';
54

65
constType={

‎src/modules/tutorial/utils/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export function tutorialConfig(
1818

1919
constgetRunner=configRunner(name,config.runner,dir);
2020

21+
if(!getRunner||!getRunner.run||!getRunner.load){
22+
console.log('Error loading test runner',getRunner);
23+
}
24+
2125
return{
2226
dir:tutorialDir,
2327
runner,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp