nixpkgs/pkgs/development/misc/google-clasp/dotf.patch
Michal Minář f0c12c4795 google-clasp: init at 2.2.1 (#43376)
* google-clasp: init at version 2.2.1

Useful for developing Google's Apps Scripts.

Signed-off-by: Michal Minář <mic.liamg@gmail.com>

* fixed license

Signed-off-by: Michal Minář <mic.liamg@gmail.com>
2019-08-22 13:29:43 +02:00

14 lines
717 B
Diff

Index: nodejs/tmp/xcindf87mmqyp0x5blima5q2m9fw3dx3-node__at_google_slash_clasp-2.2.1/lib/node_modules/@google/clasp/src/dotfile.js
===================================================================
--- clasp.orig/src/dotfile.js
+++ clasp/src/dotfile.js
@@ -94,7 +94,7 @@ exports.DOTFILE = {
return dotf(projectPath ? path_1.default.dirname(projectPath) : exports.DOT.PROJECT.DIR, exports.DOT.PROJECT.NAME);
},
// Stores {ClaspCredentials}
- RC: dotf(exports.DOT.RC.DIR, exports.DOT.RC.NAME),
+ RC: dotf.default(exports.DOT.RC.DIR, exports.DOT.RC.NAME),
// Stores {ClaspCredentials}
RC_LOCAL: function () {
var localPath = find_up_1.default.sync(exports.DOT.PROJECT.PATH);