Skip to content

Commit

Permalink
Tag v 1.1.2 smaller tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflabs committed Apr 12, 2019
1 parent ed2ffb7 commit 3135e4d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 5 deletions.
29 changes: 29 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.idea
.project
*.sublime-*
.DS_Store
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.swp
*.swo
node_modules
coverage
*.tgz
*.xml
docs
test
Makefile
package-lock.json
karma.conf.js
generate_docs.js
rollup.config.js
.babelrc
.eslintignore
.eslintrc
.travis.yml
src
data
12 changes: 8 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ var NodeGoogleDrive = function(options) {
* explicitly set
* @param {boolean} includeRemoved Either to include removed files in the
* listing. Defaults to false
* @param {string} fields - the partial fields that should be selected
* @param {string} fields - the partial fields that should be selected
* @return {Array<google.drive.files#resource>} array of file resources results
*/
NodeGoogleDrive.prototype.listFiles = function(
Expand All @@ -268,7 +268,9 @@ NodeGoogleDrive.prototype.listFiles = function(
includeRemoved: !!includeRemoved,
spaces: 'drive',
pageSize: 100,
fields: fields || 'nextPageToken, files(id, name, parents, mimeType, modifiedTime)'
fields:
fields ||
'nextPageToken, files(id, name, parents, mimeType, modifiedTime)'
};

// If pageToken is set, then request the next page of file list
Expand Down Expand Up @@ -406,7 +408,7 @@ NodeGoogleDrive.prototype.getFile = function(file, destinationFolder) {
* subfolders. Works only when parentFolder is
* explicitly set
* @param {boolean} includeRemoved - either to list removed folders or not
* @param {string} fields - the partial fields that should be selected
* @param {string} fields - the partial fields that should be selected
* @return {Array<google.drive.files#resource>} array of folder resources results
*/
NodeGoogleDrive.prototype.listFolders = function(
Expand All @@ -423,7 +425,9 @@ NodeGoogleDrive.prototype.listFolders = function(
includeRemoved: !!includeRemoved,
spaces: 'drive',
pageSize: 100,
fields: fields || 'nextPageToken, files(id, name, parents, mimeType, modifiedTime)'
fields:
fields ||
'nextPageToken, files(id, name, parents, mimeType, modifiedTime)'
};

// If pageToken is set, then request the next page of file list
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-google-drive",
"version": "1.1.1",
"version": "1.1.2",
"description": "Library to operate with Google Drive API v3 from Node.js, using system user tokens or personal keys",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 3135e4d

Please sign in to comment.