Skip to content

Commit

Permalink
ci(windows): fix typo error in process.platform
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jun 29, 2017
1 parent 2c699c6 commit a6b6788
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions test/unit/database.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ test.group('Database | QueryBuilder', (group) => {
try {
await fs.remove(path.join(__dirname, './tmp'))
} catch (error) {
if (process.plaform !== 'win32' || error.code !== 'EBUSY') {
console.log(error.code, process.plaform)
if (process.platform !== 'win32' || error.code !== 'EBUSY') {
throw error
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/lucid-belongs-to.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test.group('Relations | Belongs To', (group) => {
try {
await fs.remove(path.join(__dirname, './tmp'))
} catch (error) {
if (process.plaform !== 'win32' || error.code !== 'EBUSY') {
if (process.platform !== 'win32' || error.code !== 'EBUSY') {
throw error
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/lucid-has-many.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test.group('Relations | Has Many', (group) => {
try {
await fs.remove(path.join(__dirname, './tmp'))
} catch (error) {
if (process.plaform !== 'win32' || error.code !== 'EBUSY') {
if (process.platform !== 'win32' || error.code !== 'EBUSY') {
throw error
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/lucid-relations.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test.group('Relations | HasOne', (group) => {
try {
await fs.remove(path.join(__dirname, './tmp'))
} catch (error) {
if (process.plaform !== 'win32' || error.code !== 'EBUSY') {
if (process.platform !== 'win32' || error.code !== 'EBUSY') {
throw error
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/lucid-serializer.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test.group('Relations | Serializer', (group) => {
try {
await fs.remove(path.join(__dirname, './tmp'))
} catch (error) {
if (process.plaform !== 'win32' || error.code !== 'EBUSY') {
if (process.platform !== 'win32' || error.code !== 'EBUSY') {
throw error
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/lucid.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test.group('Model', (group) => {
try {
await fs.remove(path.join(__dirname, './tmp'))
} catch (error) {
if (process.plaform !== 'win32' || error.code !== 'EBUSY') {
if (process.platform !== 'win32' || error.code !== 'EBUSY') {
throw error
}
}
Expand Down

0 comments on commit a6b6788

Please sign in to comment.