不要怂,就是干,撸起袖子干!

Commit a22b2467 by Gabe Gorelick Committed by Sushant

chore(grammar): dont -> don't (#9570)

1 parent 39fa5979
...@@ -26,7 +26,7 @@ http://docs.sequelizejs.com/manual/tutorial/querying.html#operators-security ...@@ -26,7 +26,7 @@ http://docs.sequelizejs.com/manual/tutorial/querying.html#operators-security
`Model.attributes` now removed, use `Model.rawAttributes`. [#5320](https://github.com/sequelize/sequelize/issues/5320) `Model.attributes` now removed, use `Model.rawAttributes`. [#5320](https://github.com/sequelize/sequelize/issues/5320)
__Note__: _Please dont confuse this with `options.attributes`, they are still valid_ __Note__: _Please don't confuse this with `options.attributes`, they are still valid_
**Paranoid Mode** **Paranoid Mode**
......
...@@ -141,7 +141,7 @@ class ConnectionManager extends AbstractConnectionManager { ...@@ -141,7 +141,7 @@ class ConnectionManager extends AbstractConnectionManager {
? connectionLock.unwrap() ? connectionLock.unwrap()
: connectionLock; : connectionLock;
// Dont disconnect a connection that is already disconnected // Don't disconnect a connection that is already disconnected
if (connection.closed) { if (connection.closed) {
return Promise.resolve(); return Promise.resolve();
} }
......
...@@ -152,7 +152,7 @@ class ConnectionManager extends AbstractConnectionManager { ...@@ -152,7 +152,7 @@ class ConnectionManager extends AbstractConnectionManager {
} }
disconnect(connection) { disconnect(connection) {
// Dont disconnect connections with CLOSED state // Don't disconnect connections with CLOSED state
if (connection._closing) { if (connection._closing) {
debug('connection tried to disconnect but was already at CLOSED state'); debug('connection tried to disconnect but was already at CLOSED state');
return Utils.Promise.resolve(); return Utils.Promise.resolve();
......
...@@ -92,7 +92,7 @@ class ConnectionManager extends AbstractConnectionManager { ...@@ -92,7 +92,7 @@ class ConnectionManager extends AbstractConnectionManager {
// you can use "auto" to determine the right encoding from the // you can use "auto" to determine the right encoding from the
// current locale in the client (LC_CTYPE environment variable on Unix systems) // current locale in the client (LC_CTYPE environment variable on Unix systems)
'client_encoding', 'client_encoding',
// !! DONT SET THIS TO TRUE !! // !! DO NOT SET THIS TO TRUE !!
// (unless you know what you're doing) // (unless you know what you're doing)
// see [http://www.postgresql.org/message-id/flat/bc9549a50706040852u27633f41ib1e6b09f8339d845@mail.gmail.com#bc9549a50706040852u27633f41ib1e6b09f8339d845@mail.gmail.com] // see [http://www.postgresql.org/message-id/flat/bc9549a50706040852u27633f41ib1e6b09f8339d845@mail.gmail.com#bc9549a50706040852u27633f41ib1e6b09f8339d845@mail.gmail.com]
'binary', 'binary',
......
...@@ -336,7 +336,7 @@ class QueryInterface { ...@@ -336,7 +336,7 @@ class QueryInterface {
const skip = options.skip || []; const skip = options.skip || [];
const dropAllTables = tableNames => Promise.each(tableNames, tableName => { const dropAllTables = tableNames => Promise.each(tableNames, tableName => {
// if tableName is not in the Array of tables names then dont drop it // if tableName is not in the Array of tables names then don't drop it
if (skip.indexOf(tableName.tableName || tableName) === -1) { if (skip.indexOf(tableName.tableName || tableName) === -1) {
return this.dropTable(tableName, _.assign({}, options, { cascade: true }) ); return this.dropTable(tableName, _.assign({}, options, { cascade: true }) );
} }
......
...@@ -31,7 +31,7 @@ describe(Support.getTestDialectTeaser('Instance'), () => { ...@@ -31,7 +31,7 @@ describe(Support.getTestDialectTeaser('Instance'), () => {
}); });
}); });
it("dont return instance that isn't defined", function() { it("doesn't return instance that isn't defined", function() {
const self = this; const self = this;
return self.Project.create({ lovelyUserId: null }) return self.Project.create({ lovelyUserId: null })
.then(project => { .then(project => {
...@@ -50,7 +50,7 @@ describe(Support.getTestDialectTeaser('Instance'), () => { ...@@ -50,7 +50,7 @@ describe(Support.getTestDialectTeaser('Instance'), () => {
}); });
}); });
it("dont return instances that aren't defined", function() { it("doesn't return instances that aren't defined", function() {
const self = this; const self = this;
return self.User.create({ username: 'cuss' }) return self.User.create({ username: 'cuss' })
.then(user => { .then(user => {
......
...@@ -229,7 +229,7 @@ describe(Support.getTestDialectTeaser('Model'), () => { ...@@ -229,7 +229,7 @@ describe(Support.getTestDialectTeaser('Model'), () => {
}); });
}); });
it('should emit an error for scopes that dont exist', () => { it("should emit an error for scopes that don't exist", () => {
expect(() => { expect(() => {
Company.scope('doesntexist'); Company.scope('doesntexist');
}).to.throw('Invalid scope doesntexist called.'); }).to.throw('Invalid scope doesntexist called.');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!