Skip to content

Commit 3135e4d

Browse files
committed
Tag v 1.1.2 smaller tarball
1 parent ed2ffb7 commit 3135e4d

3 files changed

Lines changed: 38 additions & 5 deletions

File tree

.npmignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.idea
2+
.project
3+
*.sublime-*
4+
.DS_Store
5+
*.seed
6+
*.log
7+
*.csv
8+
*.dat
9+
*.out
10+
*.pid
11+
*.swp
12+
*.swo
13+
node_modules
14+
coverage
15+
*.tgz
16+
*.xml
17+
docs
18+
test
19+
Makefile
20+
package-lock.json
21+
karma.conf.js
22+
generate_docs.js
23+
rollup.config.js
24+
.babelrc
25+
.eslintignore
26+
.eslintrc
27+
.travis.yml
28+
src
29+
data

index.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ var NodeGoogleDrive = function(options) {
251251
* explicitly set
252252
* @param {boolean} includeRemoved Either to include removed files in the
253253
* listing. Defaults to false
254-
* @param {string} fields - the partial fields that should be selected
254+
* @param {string} fields - the partial fields that should be selected
255255
* @return {Array<google.drive.files#resource>} array of file resources results
256256
*/
257257
NodeGoogleDrive.prototype.listFiles = function(
@@ -268,7 +268,9 @@ NodeGoogleDrive.prototype.listFiles = function(
268268
includeRemoved: !!includeRemoved,
269269
spaces: 'drive',
270270
pageSize: 100,
271-
fields: fields || 'nextPageToken, files(id, name, parents, mimeType, modifiedTime)'
271+
fields:
272+
fields ||
273+
'nextPageToken, files(id, name, parents, mimeType, modifiedTime)'
272274
};
273275

274276
// If pageToken is set, then request the next page of file list
@@ -406,7 +408,7 @@ NodeGoogleDrive.prototype.getFile = function(file, destinationFolder) {
406408
* subfolders. Works only when parentFolder is
407409
* explicitly set
408410
* @param {boolean} includeRemoved - either to list removed folders or not
409-
* @param {string} fields - the partial fields that should be selected
411+
* @param {string} fields - the partial fields that should be selected
410412
* @return {Array<google.drive.files#resource>} array of folder resources results
411413
*/
412414
NodeGoogleDrive.prototype.listFolders = function(
@@ -423,7 +425,9 @@ NodeGoogleDrive.prototype.listFolders = function(
423425
includeRemoved: !!includeRemoved,
424426
spaces: 'drive',
425427
pageSize: 100,
426-
fields: fields || 'nextPageToken, files(id, name, parents, mimeType, modifiedTime)'
428+
fields:
429+
fields ||
430+
'nextPageToken, files(id, name, parents, mimeType, modifiedTime)'
427431
};
428432

429433
// If pageToken is set, then request the next page of file list

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-google-drive",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Library to operate with Google Drive API v3 from Node.js, using system user tokens or personal keys",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)